Hi,
Is there a way to configure the session timeout/idle timeout for my http://myserver connection ?
Thanks
Session time out
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Session time out
What version of XI are you using?
Is it a VM or source install?
Is the date correct on the XI server?
http://support.nagios.com/wiki/index.ph ... _To_Itself
Is it a VM or source install?
Is the date correct on the XI server?
http://support.nagios.com/wiki/index.ph ... _To_Itself
Re: Session time out
Hi,
It's Nagios XI 2011R1.6 virtual machine.
the XI server time is sync and GMT. I'm using UTC+2 time zone station to connect to it.
Almost every morning when I arrive to work I see "your session has timed out".
Thanks
It's Nagios XI 2011R1.6 virtual machine.
the XI server time is sync and GMT. I'm using UTC+2 time zone station to connect to it.
Almost every morning when I arrive to work I see "your session has timed out".
Thanks
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Session time out
No way that I know of to change that, it basically only expires if it doesn't (or cannot) make an update for 30 minutes.
Re: Session time out
Where can I see that 30 min interval ?
Because my session is idle during the day for more then 30 min and it's not disconnected.
It's disconnect only during the night when idle for more time.
Thanks
Because my session is idle during the day for more then 30 min and it's not disconnected.
It's disconnect only during the night when idle for more time.
Thanks
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Session time out
There is a setting you can modify in /etc/php.ini
this is an amount of time in seconds.
then
During the day you may have a screen open that is running ajax calls on the website which would reset the time.
Code: Select all
session.gc_maxlifetime = 1440
then
Code: Select all
service httpd restart
Re: Session time out
Thank you, I'll check it out
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Session time out
No problem, that should do it.