Hi,
How can I change the automatic log off timer?
Thanks,
Tal
Auto log off timer
Re: Auto log off timer
Open the "/etc/php.ini" file and edit the line that says:
Note: This is in seconds.
Hope this helps.
Code: Select all
session.gc_maxlifetime = 1440Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Auto log off timer
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.
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
Hi again,
Unfortunately it ended up not working..
I still get 'session timed out' when I leave the computer for some time.
Unfortunately it ended up not working..
I still get 'session timed out' when I leave the computer for some time.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Auto log off timer
What did you set it to?
Re: Auto log off timer
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.
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
It is working. dunno what happened before. Thanks 