note 52861 added to function.session-write-close

From: Date: Sun, 15 May 2005 20:13:59 +0000
Subject: note 52861 added to function.session-write-close
Groups: php.notes 
Request: Send a blank email to php-notes+get-89469@lists.php.net to get a copy of this message
Further to the comment by nakanishi at mailstyle dot com, it appears that calling session_write_close() followed by session_start() causes issues if you have more than one browser window/tab open in the session, and have a large session data array. I have an intermitent (and hard to replicate reliably) issue with session_start() never being called or not returning - the script hangs before the session headers are written. I'm puting this down to trying to be too clever rather than to a bug per se. ---- Manual Page -- http://www.php.net/manual/en/function.session-write-close.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52861 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52861&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52861&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52861&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52861&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52861&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52861&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#89469) next »