note 92161 deleted from function.session-start by danbrown
| From: | danbrown@php.net | Date: | Sun, 12 Jul 2009 15:23:35 +0000 |
| Subject: | note 92161 deleted from function.session-start by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-158205@lists.php.net to get a copy of this message | ||
Note Submitter: abiusx at gmail dot com
----
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.