I believe this has to do with the php "session.gc_maxlifetime" setting..
http://us3.php.net/manual/en/ref.session.php
session.gc_maxlifetime integer
session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up.
Default:
session.gc_maxlifetime: "1440" // 1440 seconds (24 Minutes)
For administrators that want to increase that time.. They may modify the "\includes\classes\session.php" file..
Backup the file first before editing of course..
Do a search for this next line to get to the right place in the file
| Quote:: |
$this->old_handler = ini_set('session.save_handler', 'files');
|
Under that you may or may not see this line commented out below it
| Quote:: |
// ini_set('session.gc_maxlifetime', $expired); # bug not deleting ?
|
$expired is declared as "$expired = (gmtime()-($time*60));"
The gmtime() isn't supposed to be included in the gc_maxlifetime setting...
You could change the 'session.gc_maxlifetime' line to the following and uncomment it, or if you don't see the commented line then add a new line under the one you searched for. Change/Add the following one line..
| Quote:: |
ini_set('session.gc_maxlifetime', ($time*60));
|
default value for $time in the function is 180.. So this should change the dragonfly session expired time from 24 minutes to 3 hours.. (180 minutes)..
If that doesn't work for someone, like for instance the "ini_set" feature is disabled..then maybe you need to manually edit the php.ini and set it to a higher setting..