note 25814 rejected from ref.session by nicos
| From: | nicos@php.net | Date: | Mon, 07 Oct 2002 19:16:17 +0000 |
| Subject: | note 25814 rejected from ref.session by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-37754@lists.php.net to get a copy of this message | ||
Like said here:
http://www.php.net/manual/en/function.unset.php
unset ($_SESSION['var']);
does NOT work right. It only unsets the session variable for that page.
Use
$_SESSION['var'] = null;
instead.