note 92162 deleted from function.session-start by peehaa
| From: | peehaa@php.net | Date: | Fri, 09 Dec 2016 22:16:53 +0000 |
| Subject: | note 92162 deleted from function.session-start by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208345@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.