|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-03-06 13:50 UTC] andrei@php.net
[2012-03-07 05:43 UTC] andrei@php.net
-Status: Analyzed
+Status: Closed
-Assigned To:
+Assigned To: andrei
[2012-03-07 05:43 UTC] andrei@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 16:00:02 2025 UTC |
Description: ------------ The memcached extension reads ini values wrongly resulting in all values defaulting to 0 leading to session lifetimes being infinite. sess_lifetime = zend_ini_long(ZEND_STRL("session.gc_maxlifetime"), 0); ZEND_STRL() makro is used even though zend_ini_long() seems to want the length of the string including the trailing \0. Inconsistent APIs for the win. Reproduce code: --------------- ini_set('session.save_handler', 'memcached');