note 14290 deleted from function.session-start by jimw
| From: | jimw@php.net | Date: | Fri, 07 Dec 2001 20:28:36 +0000 |
| Subject: | note 14290 deleted from function.session-start by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21924@lists.php.net to get a copy of this message | ||
I found that session management will lose variables if not enough time was given to it to save them
into file.
For example, if your PHP registered more than 1000 (this number is not exact) session variables in
the first page.
And then your HTML/JavaScript code quickly transfer to 2nd page and then
call session_start(), some variables will be lost and *forget* in session variable arrays.
That is, if you register many many many
session variables, then you should sleep
for a while to wait before the PHP finished to write all the variable values into the file.
No wait then variable will be lost randomly.