note 92162 added to function.session-start
| From: | abiusx at gmail dot com | Date: | Sun, 12 Jul 2009 10:03:46 +0000 |
| Subject: | note 92162 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158196@lists.php.net to get a copy of this message | ||
Working with Comet, or any other parallel or simultaneous requests from a single browser (a single
session) would lock the application if it uses a centralized session management.
To fix this, you should add session_commit() (Alias of session_write_close() ) after ALL session
management, i.e using any session_* functions except session_start() is forbidden after that an
causes an error.
----
Server IP: 79.132.192.3
Probable Submitter: 188.121.131.17
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- https://master.php.net/note/edit/92162
Del: integrated -- https://master.php.net/note/delete/92162/integrated
Del: useless -- https://master.php.net/note/delete/92162/useless
Del: bad code -- https://master.php.net/note/delete/92162/bad+code
Del: spam -- https://master.php.net/note/delete/92162/spam
Del: non-english -- https://master.php.net/note/delete/92162/non-english
Del: in docs -- https://master.php.net/note/delete/92162/in+docs
Del: other reasons-- https://master.php.net/note/delete/92162
Reject -- https://master.php.net/note/reject/92162
Search -- https://master.php.net/manage/user-notes.php