#49335 [NEW]: Description of session.gc_max_lifetime is incorrect and misleading
| From: | tom at punkave dot com | Date: | Sun, 23 Aug 2009 14:00:14 +0000 |
| Subject: | #49335 [NEW]: Description of session.gc_max_lifetime is incorrect and misleading | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-2650@lists.php.net to get a copy of this message | ||
From: tom at punkave dot com
Operating system: All
PHP version: 5.2.10
PHP Bug Type: Documentation problem
Bug description: Description of session.gc_max_lifetime is incorrect and misleading
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 bug report at http://bugs.php.net/?id=49335&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49335&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49335&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49335&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49335&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49335&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49335&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49335&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49335&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49335&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49335&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49335&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49335&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49335&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49335&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49335&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49335&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49335&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49335&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49335&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49335&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49335&r=mysqlcfg