Page 1 of 1

Auto log off timer

Posted: Tue Jun 05, 2012 6:25 am
by cellact
Hi,
How can I change the automatic log off timer?

Thanks,
Tal

Re: Auto log off timer

Posted: Tue Jun 05, 2012 9:54 am
by lmiltchev
Open the "/etc/php.ini" file and edit the line that says:

Code: Select all

session.gc_maxlifetime = 1440
Note: This is in seconds.

Hope this helps.

Re: Auto log off timer

Posted: Mon Jun 11, 2012 1:19 am
by cellact
Thanks, it worked.

For future reference, after you make changes in php.ini, you have to restart the apache service (apachectl restart) for changes to take effect.

Re: Auto log off timer

Posted: Thu Jun 14, 2012 1:32 am
by cellact
Hi again,
Unfortunately it ended up not working..

I still get 'session timed out' when I leave the computer for some time.

Re: Auto log off timer

Posted: Thu Jun 14, 2012 9:48 am
by scottwilkerson
What did you set it to?

Re: Auto log off timer

Posted: Sun Jun 17, 2012 2:04 am
by cellact
Some huge number. I basically don't want to get ever logged out.
There's no Max value, is it?

Today it seemed to work. I'll update if I find a pattern.

Re: Auto log off timer

Posted: Mon Jun 18, 2012 2:03 am
by cellact
It is working. dunno what happened before. Thanks :)