Re: Destroy all session data...

From: Date: Tue, 13 Jan 2004 16:26:11 +0000
Subject: Re: Destroy all session data...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174463@lists.php.net to get a copy of this message
Hello Tristan, Tuesday, January 13, 2004, 3:59:05 PM, you wrote: TPrsc> I've just asked my host to set my session time limit to 30 days... From 0 TPrsc> I'm now running into problems, and I think that destroying all session TPrsc> data sill help... TPrsc> Until I get this sorted, can I kill everyones stored session data? You could just do: $_SESSION = array(); session_destroy(); This will erase any session data held for that user (both in memory and in the tmp directory) - then create a new session for them. Failing that you could ask your host to erase all of the session tmp files from the session_tmp directory. -- Best regards, Richard mailto:rich@launchcode.co.uk

« previous php.general (#174463) next »