note 125487 added to function.session-start
| From: | Anonymous@php.net | Date: | Wed, 04 Nov 2020 14:44:19 +0000 |
| Subject: | note 125487 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215788@lists.php.net to get a copy of this message | ||
Be careful with the 'read_and_close' option. It doesn't update the session
file's last modification time unlike the default PHP behaviour when you don't close the
session (or when you use session_write_close explicitly).
Old session files (for me, older than 24 minutes) will be occasionally cleared by the garbage
collector (for me every 09 and 39 minute of every hour).
So a session can disappear even if the page regularly sends requests to the server that only reads
and closes the session.
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.174 (proxied: 78.131.95.113)
----
Manual Page -- http://php.net/manual/en/function.session-start.php
Edit -- https://master.php.net/note/edit/125487
Del: integrated -- https://master.php.net/note/delete/125487/integrated
Del: useless -- https://master.php.net/note/delete/125487/useless
Del: bad code -- https://master.php.net/note/delete/125487/bad+code
Del: spam -- https://master.php.net/note/delete/125487/spam
Del: non-english -- https://master.php.net/note/delete/125487/non-english
Del: in docs -- https://master.php.net/note/delete/125487/in+docs
Del: other reasons-- https://master.php.net/note/delete/125487
Reject -- https://master.php.net/note/reject/125487
Search -- https://master.php.net/manage/user-notes.php