note 89243 deleted from book.session by thiago
| From: | thiago@php.net | Date: | Fri, 27 Feb 2009 18:12:50 +0000 |
| Subject: | note 89243 deleted from book.session by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151225@lists.php.net to get a copy of this message | ||
Note Submitter: rbemrose at vgmusic dot com
----
@Some Guy:
"it seems that php does the session writing after the script exits."
PHP doesn't write the session until it closes it. You can close a session early by calling
session_write_close() (or its alias session_commit()), but you can no longer write to the session
after that point.