note 94242 deleted from function.session-start by danbrown
| From: | danbrown@php.net | Date: | Sun, 25 Oct 2009 13:08:10 +0000 |
| Subject: | note 94242 deleted from function.session-start by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162051@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
session_start() erases $_SESSION integer keys.
$_SESSION[1] will hold its value for the same script that creates it, but will not be there once the
page is reloaded and session_start() restores the session. Keys seem to be unset, not just
reassigned.