Unsetting $_SESSION variables?

From: Date: Fri, 02 May 2003 13:40:16 +0000
Subject: Unsetting $_SESSION variables?
Groups: php.general 
Request: Send a blank email to php-general+get-146121@lists.php.net to get a copy of this message
I am in the process of trying to clear a session variable and always used session_unset() in the past and it worked great. But now we need to use unset() for the $_SESSION global. I have tried all of the following and it seems to not be unsetting, anyone have any ideas? unset($GLOBALS['_SESSION']['valid']); unset($valid); session_unset(); session_unregister(); session_destroy(); I've tried most things suggested on the note of the unset() page in the manual but still having no luck. Running PHP 4.1.2 on a Zeus web server. Jeff

« previous php.general (#146121) next »