#48063 [NEW]: Spontaneously disappearing, cookie-based sessions
| From: | myselfasunder at gmail dot com | Date: | Thu, 23 Apr 2009 16:51:26 +0000 |
| Subject: | #48063 [NEW]: Spontaneously disappearing, cookie-based sessions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-136168@lists.php.net to get a copy of this message | ||
From: myselfasunder at gmail dot com
Operating system: Ubuntu
PHP version: 5.2.9
PHP Bug Type: Session related
Bug description: Spontaneously disappearing, cookie-based sessions
Description:
------------
I have set the following:
session_name('GOLDENCOLLECTION');
session_set_cookie_params(86400 * 3);
ini_set('session.use_only_cookies', '1');
ini_set('session.gc_maxlifetime', 86400 * 3);
I can load the same page many times successfully. However, if I wait a
while, around twenty minutes, the session's members are no longer
available.
This is the first time I've used cookies to carry the SID (instead of
putting them in the URL).
I have administrative control of the system.
Reproduce code:
---------------
session_start();
Expected result:
----------------
The session should be started and all preexisting members should be
available. They -does- happen, but until only around twenty or thirty
minutes have elapsed, and then they'll be gone.
Actual result:
--------------
They'll disappear without me doing anything.
--
Edit bug report at http://bugs.php.net/?id=48063&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48063&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48063&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48063&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48063&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48063&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48063&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48063&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48063&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48063&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48063&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48063&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48063&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48063&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48063&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48063&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48063&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48063&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48063&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48063&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48063&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48063&r=mysqlcfg