Bug #15644 Updated: Wrong behaviour session.gc_maxlifetime
| From: | yohgaki@php.net | Date: | Thu, 21 Feb 2002 08:19:46 +0000 |
| Subject: | Bug #15644 Updated: Wrong behaviour session.gc_maxlifetime | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-711@lists.php.net to get a copy of this message | ||
ID: 15644
Updated by: yohgaki@php.net
Reported By: ivo@ibuildings.nl
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Redhat Linux
PHP Version: 4.1.1
New Comment:
What is your save handler? "files" or "user" or else?
Previous Comments:
------------------------------------------------------------------------
[2002-02-20 08:23:33] ivo@ibuildings.nl
The value for gc_maxlifetime specifies after how long php sees stored
session data as garbage. This is not correct behaviour. Example:
Say, I have set gc_maxlifetime to 24 minutes. I start using an
application that stores something in the session. I continue working
for the next 24 minutes. Suddenly, the earliest session data (stored 24
minutes ago, but still used!) will be seen as garbage and disappears,
rendering the application useless.
It should only see the session data if the session is not used for
gc_maxlifetime seconds. If I keep using the application, the session
data should not be thrown away.
(current workaround is to set gc_maxlifetime to something big, but
that's not the correct solution in my opinion)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15644&edit=1