note 117901 deleted from session.examples.basic by cmb
| From: | cmb@php.net | Date: | Wed, 07 Dec 2016 16:02:08 +0000 |
| Subject: | note 117901 deleted from session.examples.basic by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208266@lists.php.net to get a copy of this message | ||
Note Submitter: v888666 at 126 dot com
----
as metioned in 5th paragraph:
"Sessions normally shutdown automatically when PHP is finished executing a script, but can be
manually shutdown using the session_write_close() function."
It's important to note that , "session shutdown " and "session invalid" are
not equivalant. when a session shutdown, its session file is still valid in 24min by default
(session file still exists in session path) .
In subsquent access to this site ( ensure that this session file still exists ) ,this session will
be resumed by session_start().