note 74490 added to function.session-write-close

From: Date: Fri, 13 Apr 2007 16:03:53 +0000
Subject: note 74490 added to function.session-write-close
Groups: php.notes 
Request: Send a blank email to php-notes+get-125365@lists.php.net to get a copy of this message
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() ---- Server IP: 69.39.81.135 Probable Submitter: 216.143.120.140 (proxied: 1.1 HTNISA01) ---- Manual Page -- http://www.php.net/manual/en/function.session-write-close.php Edit -- https://master.php.net/note/edit/74490 Del: integrated -- https://master.php.net/note/delete/74490/integrated Del: useless -- https://master.php.net/note/delete/74490/useless Del: bad code -- https://master.php.net/note/delete/74490/bad+code Del: spam -- https://master.php.net/note/delete/74490/spam Del: non-english -- https://master.php.net/note/delete/74490/non-english Del: in docs -- https://master.php.net/note/delete/74490/in+docs Del: other reasons-- https://master.php.net/note/delete/74490 Reject -- https://master.php.net/note/reject/74490 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#125365) next »