#49335 [Opn->Csd]: Description of session.gc_max_lifetime is incorrect and misleading
| From: | vrana@php.net | Date: | Fri, 13 Nov 2009 22:45:09 +0000 |
| Subject: | #49335 [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-3154@lists.php.net to get a copy of this message | ||
ID: 49335
Updated by: vrana@php.net
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:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2009-08-23 14:00:14] 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=49335&edit=1