The line
ini_set('session.cache_expire',900);
in the
config.inc.php
seems not to have any effect. My sessions time out after about 1h regardless what value I enter.
Session timeout
The same for me, sessions time out are kkiling us
We are having the same problem and we don't know how to solve this... we've tried to change this line with a value like 1440 (24hrs) but nothing.
Does anyone knows how to solve this?
Does anyone knows how to solve this?
are you using ubuntu?
we're using version 7.10 and the crazy part about the timeout is that there's a separate cron job that will go and delete all your php sessions that are beyond some set time.
look in: /var/lib/php5
here is a list of current sessions, users of your testlink installation
/etc/cron.d/php5
this cron job definition goes into the previous directory and removes all files older than "maxlifetime", this effectively makes the user timeout.
what is your maxlifetime?
run this: /usr/lib/php5/maxlifetime
it will return the current setting of maxlifetime for your php sessions. if you take a look at the contents of the script, you will discover where to modify the values necessary to increase maxlifetime.
in my case, /etc/php5/apache2/php.ini
modify the following:
;session.gc_maxlifetime = 1440
to
session.gc_maxlifetime = 172800
(for 48 hours, for example)
then run maxlifetime (as called by the cron job) to make sure the new value will be used.
we're using version 7.10 and the crazy part about the timeout is that there's a separate cron job that will go and delete all your php sessions that are beyond some set time.
look in: /var/lib/php5
here is a list of current sessions, users of your testlink installation
/etc/cron.d/php5
this cron job definition goes into the previous directory and removes all files older than "maxlifetime", this effectively makes the user timeout.
what is your maxlifetime?
run this: /usr/lib/php5/maxlifetime
it will return the current setting of maxlifetime for your php sessions. if you take a look at the contents of the script, you will discover where to modify the values necessary to increase maxlifetime.
in my case, /etc/php5/apache2/php.ini
modify the following:
;session.gc_maxlifetime = 1440
to
session.gc_maxlifetime = 172800
(for 48 hours, for example)
then run maxlifetime (as called by the cron job) to make sure the new value will be used.