As far as I understand the code, the authenticated users' web session timeout is set as hard coded value to 3600 sec.
We would like to be able to customize this value in the Cacti settings (or at least in the config file) in order to avoid getting too much annoying "Access denied" messages.
(Why an hard coded value !?)
Thanks.
Be able to set the users' web session timeout
Moderators: Developers, Moderators
Be able to set the users' web session timeout
Cacti 0.8.8b + spine 0.8.8b
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
on Debian / Apache 2.2 / PHP 5.2 / MySQL 5.0
Re: Be able to set the users' web session timeout
If you mentioned about this line, it's not for timeout settings.GLR wrote:As far as I understand the code, the authenticated users' web session timeout is set as hard coded value to 3600 sec.
We would like to be able to customize this value in the Cacti settings (or at least in the config file) in order to avoid getting too much annoying "Access denied" messages.
(Why an hard coded value !?)
That's usual method for deleting cookie.setcookie(session_name(),"",time() - 3600,"/");
- http://www.php.net/manual/en/function.setcookie.php
Default session timeout is determined in your php.ini. See the following settings:
- session.cookie_lifetime
- session.gc_maxlifetime
- session.gc_probability
- session.gc_divisor
Who is online
Users browsing this forum: No registered users and 0 guests