note 40632 added to function.session-start
| From: | alan at being_helpful dot com | Date: | Wed, 10 Mar 2004 09:56:32 +0000 |
| Subject: | note 40632 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-66537@lists.php.net to get a copy of this message | ||
If your session name is numeric, then $_SESSION will not capture the information to be stored.
$_SESSION[30] = 'capture';
will only be stored once, then disappear from your sessions global variables. You will need to use
string name FIRST if you still want to retain numeric values inside.
$_SESSION['anchor'][30] = 'capture';
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40632
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40632&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40632&report=yes
Search -- http://master.php.net/manage/user-notes.php