note 25045 deleted from function.unset by sniper

From: Date: Mon, 13 Oct 2003 02:29:29 +0000
Subject: note 25045 deleted from function.unset by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58492@lists.php.net to get a copy of this message
Note Submitter: btipling@please_dontspamme.com ---- I don't use unset() to unset session variables. To destroy all information in $_SESSION I use the following code: $_SESSION = array(); and if I just want to get rid of one variable, then I use: $_SESSION['whatever'] = "NULL"; and that variable will no longer be relevant or test as TRUE in the rest of the script

« previous php.notes (#58492) next »