Hello,
In the config file, I set the session time to 600 minutes. But the session take less,
from this morning 07h to now 14h55, I had 7 sessions timeout.
I'm the only one to have this problem ?
Thanks,
Christian,
Hi,
I guess I found the reason for these timeouts. The garbage collection function called by PHP's session management checks the 'created' date and not the 'changed' date of a session record. This will be corrected in the next release. For a quick and dirty fix, you can replace UNIX_TIMESTAMP(created) with UNIX_TIMESTAMP(changed) on line 124 in program/include/session.inc (if you're using the CVS version it would be line 118)
Regards, Thomas
Christian Ista wrote:
Hello,
In the config file, I set the session time to 600 minutes. But the session take less,
from this morning 07h to now 14h55, I had 7 sessions timeout.
I'm the only one to have this problem ?
Thanks,
Christian,
Cool, thanks a lot.
Hermann
On 11/22/05, Thomas Bruederli roundcube@gmail.com wrote:
Hi,
I guess I found the reason for these timeouts. The garbage collection function called by PHP's session management checks the 'created' date and not the 'changed' date of a session record. This will be corrected in the next release. For a quick and dirty fix, you can replace UNIX_TIMESTAMP(created) with UNIX_TIMESTAMP(changed) on line 124 in program/include/session.inc (if you're using the CVS version it would be line 118)
Regards, Thomas
Christian Ista wrote:
Hello,
In the config file, I set the session time to 600 minutes. But the session take less,
from this morning 07h to now 14h55, I had 7 sessions timeout.
I'm the only one to have this problem ?
Thanks,
Christian,