#49336 [Opn->Csd]: Description of session.gc_max_lifetime is incorrect and misleading

From: Date: Sun, 23 Aug 2009 14:08:14 +0000
Subject: #49336 [Opn->Csd]: Description of session.gc_max_lifetime is incorrect and misleading
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2654@lists.php.net to get a copy of this message
ID: 49336 User updated by: tom at punkave dot com Reported By: tom at punkave dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: All PHP Version: 5.2.10 New Comment: Redundant submission Previous Comments: ------------------------------------------------------------------------ [2009-08-23 14:00:29] tom at punkave dot com Description: ------------ The description of session.gc_max_lifetime (as well as its name) imply that it is the maximum lifetime of a session. In actuality it is just the session timeout. This problem exists in both php.ini-dist/php.ini- production and in the online reference manual. I considered sending a diff but it's not clear to me where to send it. * * * The current text: ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. session.gc_maxlifetime = 1440 Suggested replacement: ; Session idle timeout. If a session is idle for this number ; of seconds, and PHP's default session handling is in use, ; the session data will potentially be cleaned up by the ; garbage collection process. Note that custom session ; handlers can override this (see session_set_save_handler ). ; The default timeout is 1440 seconds (24 minutes). session.gc_maxlifetime = 1440 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49336&edit=1

« previous php.doc.bugs (#2654) next »