note 35224 deleted from function.unset by vincent
| From: | vincent@php.net | Date: | Sun, 24 Aug 2003 16:40:01 +0000 |
| Subject: | note 35224 deleted from function.unset by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54996@lists.php.net to get a copy of this message | ||
Note Submitter: scott johnston
----
jrshank's suggestion is good, except for a small syntax error.
Instead of:
unset($_SESSION['$variable'];
session_unregister($variable);
it should be:
unset($_SESSION['variable']);
session_unregister($variable);