note 38407 rejected from function.unset by didou
| From: | didou@php.net | Date: | Fri, 09 Jan 2004 00:19:41 +0000 |
| Subject: | note 38407 rejected from function.unset by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63179@lists.php.net to get a copy of this message | ||
Note Submitter: hw*no_spam_for_me*@bauleitung-wiens.de
----
in php versions < 4.2.2 (just tested with 4.2.2 and 4.1) unset() doesn't unset $_SESSION
entries.
For Example, the line:
unset($_SESSION['session_var']);
WON'T unset or unregister session_var from the current Session. You still have to use
session_unregister even though you didn't used the session_register() function to register it
to the session.
hope this helps someone.