note 115306 added to memcached.sessions
| From: | IanMaddox | Date: | Thu, 03 Jul 2014 02:22:52 +0000 |
| Subject: | note 115306 added to memcached.sessions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199813@lists.php.net to get a copy of this message | ||
If you are setting data to the session and it immediately disappears and you aren't getting any
warnings in your PHP error log, it's probably because your sessions expired sometime in the
1970s.
Somewhere between memcached 1.0.2 and 2.1.0, the memcached session handler became sensitive to the
30-day TTL gotcha (aka "transparent failover"). If your session.gc_maxlifetime is greater
than 2592000 (30 days), the value is treated as a unix timestamp instead of a relative seconds
count.
This issue is likely to impact anyone with long-running sessions who is upgrading from Ubuntu 12.04
to 14.04.
----
Server IP: 72.52.91.14
Probable Submitter: 173.160.229.61
----
Manual Page -- http://php.net/manual/en/memcached.sessions.php
Edit -- https://master.php.net/note/edit/115306
Del: integrated -- https://master.php.net/note/delete/115306/integrated
Del: useless -- https://master.php.net/note/delete/115306/useless
Del: bad code -- https://master.php.net/note/delete/115306/bad+code
Del: spam -- https://master.php.net/note/delete/115306/spam
Del: non-english -- https://master.php.net/note/delete/115306/non-english
Del: in docs -- https://master.php.net/note/delete/115306/in+docs
Del: other reasons-- https://master.php.net/note/delete/115306
Reject -- https://master.php.net/note/reject/115306
Search -- https://master.php.net/manage/user-notes.php