note 24457 deleted from function.unset by sniper

From: Date: Mon, 13 Oct 2003 02:29:35 +0000
Subject: note 24457 deleted from function.unset by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58493@lists.php.net to get a copy of this message
Note Submitter: till.krullmann@gmx.net ---- [Editor's note: this note is partially correct, you can destroy session a variable using session_unregister(), and then you can safely unset() it.] If you unset session variables with unset($_SESSION['foo']) the variables will only be unset from the $_SESSION array inside the calling script. Calling isset($_SESSION['foo']) on the next page will return true! It seems that it is impossible to delete only certain session variables permanently. You can, however, delete all variables with session_unset().

« previous php.notes (#58493) next »