Session Timeout
Moderators: Amaradana, TurboPT, TL Developers
Session Timeout
Hi,
Does anyone know how to increase the session timeout? While entering scripts our browser session is timing out and we are losing all our work.
Any previous posts on this issue were never resolved.
Thanks for any feedback.
Does anyone know how to increase the session timeout? While entering scripts our browser session is timing out and we are losing all our work.
Any previous posts on this issue were never resolved.
Thanks for any feedback.
I haven't tried the solution yet, but according to the Installation Manual, section 5.12.3, testlinkInactivityTimeout, this should not have worked, or what am I missing here:
So if there is a lower value of session.gc_maxlifetime in php.ini this is still applied if it is lower than the reconfigured testlinkInactivityTimeout?
5.12.3
Set the session time-out for inactivity (in minutes). Default value of this internal limit is 60 minutes. Time-out is limited by both php.ini and this parameter. Lower value is applied!
So if there is a lower value of session.gc_maxlifetime in php.ini this is still applied if it is lower than the reconfigured testlinkInactivityTimeout?
Yes, I read it. And I think I understood it. But the previous postings in this thread seemed to contradict what is described in the manual (or I misunderstood the postings).havlatm wrote:I see that the configuration parameter is still confusing. It is designed for the case, that testlink admin cannot modify general php settings and would like to limit a session for shorter time. I.e. shorter time limit is applied.
Did you read Installation manual? It's described here.
Anyway I think there is the need to be able to set the session for a longer time than the general php settings, not a shorter time.
At least this is the case in our installation, where testers' sessions time out while they are entering their test suite descriptions and when they press 'save' everything is lost due to the short session timeout.
In our testlink 1.8.1 installation I've modified the following lines in config.inc.php and got the expected result (timeout period of 5 hours) without the need to adapt the "global" setting in php.ini:havlatm wrote:I see that the configuration parameter is still confusing. It is designed for the case, that testlink admin cannot modify general php settings and would like to limit a session for shorter time. I.e. shorter time limit is applied.
Did you read Installation manual? It's described here.
line 150:
Code: Select all
$tlCfg->sessionInactivityTimeout = 300
Code: Select all
ini_set('session.gc_maxlifetime', 18000);
Session Timeout
This is helpful...thanks. I was further wondering if similar setting could be used to totally disable the timeout? Better yet, does TestLink have any "remember me" functionality that can be enabled?hboeken wrote:In our testlink 1.8.1 installation I've modified the following lines in config.inc.php and got the expected result (timeout period of 5 hours) without the need to adapt the "global" setting in php.ini:
line 150:line 164:Code: Select all
$tlCfg->sessionInactivityTimeout = 300
Code: Select all
ini_set('session.gc_maxlifetime', 18000);
Regards,
Burke