note 29357 deleted from ref.session by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 03:18:29 +0000 |
| Subject: | note 29357 deleted from ref.session by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48362@lists.php.net to get a copy of this message | ||
Note Submitter: kevin at stormtide dot ca
----
when you want to reset a session, using
$_SESSION = null;
will cause php (and apache 1.3) to show a cannot find server error.
However, the correct way to achieve this is to do:
$_SESSION = array();
which will reset the array as desired