Hi, I am using the default settings so session seems to time out after an hour or so. How can I change it to be active for a longer time?
I searched previous posts but couldn't find any solution. So please advise me.
Thanks!
-Jack
Increase session duration before timeout
Moderators: Amaradana, TurboPT, TL Developers
-
- TestLink user
- Posts: 1
- Joined: Thu Oct 11, 2012 7:03 pm
Re: Increase session duration before timeout
Try modifying session timeout value in your config.inc.php file like this:
Line 150: $tlCfg->sessionInactivityTimeout = 300 //this value is in minutes.
Line 164: ini_set('session.gc_maxlifetime', 18000) //this value is in seconds.
I believe you need to modify these two values and your session should long longer.
Line 150: $tlCfg->sessionInactivityTimeout = 300 //this value is in minutes.
Line 164: ini_set('session.gc_maxlifetime', 18000) //this value is in seconds.
I believe you need to modify these two values and your session should long longer.