Increase session duration before timeout

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
jackwy
TestLink user
Posts: 4
Joined: Tue Jun 08, 2010 3:23 pm

Increase session duration before timeout

Post by jackwy »

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
arunkarnati
TestLink user
Posts: 1
Joined: Thu Oct 11, 2012 7:03 pm

Re: Increase session duration before timeout

Post by arunkarnati »

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.
Post Reply