I'm using CPG 1.4.2 and noticed that when I log in as admin CPG automatic logs out after x time being idle.
Does someone knows if it's possible to adjust the time for automatic log out?
That's in bridge/coppermine.inc.php
// Lifetime of 'remember me' session is 2 weeks
$rememberme_life_time = time()-(CPG_WEEK*2);
// Lifetime of normal session is 1 hour
$session_life_time = time()-CPG_HOUR;
CPG_WEEK and CPG_HOUR are already defined as the number of seconds in a week and hour respectively.
Quote from: Nibbler on December 31, 2005, 10:11:09 PM
That's in bridge/coppermine.inc.php
// Lifetime of 'remember me' session is 2 weeks
$rememberme_life_time = time()-(CPG_WEEK*2);
// Lifetime of normal session is 1 hour
$session_life_time = time()-CPG_HOUR;
CPG_WEEK and CPG_HOUR are already defined as the number of seconds in a week and hour respectively.
OK, thank you very much. I've searched for it but couldn't really find it.
Now it's almost time to celebrate New Year :)
I dont get it...
Ive done the changes to make the session time shorter... but the session still lasts forever...
are you sure these are the parameters?
Please don't hijack other peoples threads with different problems. Your other thread also doesn't contain a link to your site as required by the board rules. This mode is for a different version of coppermine than the one you mention in your other thread so the code will be different.
Locking