Bug #75896 [NEW]: All versions of PHP since PHP4
| From: | php dot chaska at xoxy dot net | Date: | Wed, 31 Jan 2018 18:24:42 +0000 |
| Subject: | Bug #75896 [NEW]: All versions of PHP since PHP4 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-213763@lists.php.net to get a copy of this message | ||
From: php dot chaska at xoxy dot net
Operating system: All
PHP version: 7.2.2RC1
Package: Session related
Bug Type: Bug
Bug description:All versions of PHP since PHP4
Description:
------------
The default value of 1440 seconds for session.gc_maxlifetime resulted
from a copy-paste error many years ago. It is inane and unsupported by
any rationale. It has caused, and continues to cause, innumerable lost
or wasted hours of coding, maintenance and debugging efforts on the part
of PHP programmers around the world.
Please change the default value as shipped in php.ini and as documented,
to something which makes any kind of sense. I suggest a value of 3600,
or one hour. This is an easily understood value by people, and is a
reasonable duration for a session before timeout. There is no factual
support for the idea that 24 minutes (1440 seconds) is a good value.
There may be arguments for other values -- e.g. 86400 for 1 day. Feel
free to research them. Just pick something sane.
--
Edit bug report at https://bugs.php.net/bug.php?id=75896&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75896&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75896&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75896&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75896&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75896&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75896&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75896&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75896&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75896&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75896&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75896&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75896&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75896&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75896&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75896&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75896&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75896&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75896&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75896&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75896&r=mysqlcfg