Bug #71162 [NEW]: lazy_write never call updateTimestamp when session remains empty
| From: | e2c2be7ed0f2f336 at gmail dot com | Date: | Fri, 18 Dec 2015 22:54:37 +0000 |
| Subject: | Bug #71162 [NEW]: lazy_write never call updateTimestamp when session remains empty | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-198011@lists.php.net to get a copy of this message | ||
From: e2c2be7ed0f2f336 at gmail dot com
Operating system:
PHP version: 7.0Git-2015-12-18 (snap)
Package: Session related
Bug Type: Bug
Bug description:lazy_write never call updateTimestamp when session remains empty
Description:
------------
A session which remains empty always invoke the write callback instead
of updateTimestamp of the session handler.
Not really a bug but behavior would be more consistent.
Test script:
---------------
https://gist.github.com/julp/4bc6acac8ef4ca51e750
Expected result:
----------------
updateTimestamp
Actual result:
--------------
write
--
Edit bug report at https://bugs.php.net/bug.php?id=71162&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71162&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71162&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71162&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71162&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71162&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71162&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71162&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71162&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71162&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71162&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71162&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71162&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71162&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71162&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71162&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71162&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71162&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71162&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71162&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71162&r=mysqlcfg