note 74490 deleted from function.session-write-close by derick
| From: | derick@php.net | Date: | Fri, 03 Aug 2007 18:52:08 +0000 |
| Subject: | note 74490 deleted from function.session-write-close by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-129154@lists.php.net to get a copy of this message | ||
Note Submitter: amckenna at hightechinstitute dot edu
----
I was having problems with my session getting set to an emtpy array when I did a redirect after
having the user log in. Session_write_close() didn't help. I realized that by adding another
object to my session I had gone over the max size for our server (4k). If you are having the same
problem, check the size of your session right before the redirect with serialize() and strlen()