mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Don't re-generate but save session every minute
This commit is contained in:
parent
96466241c2
commit
6b2a928fd7
@ -21,7 +21,7 @@ class ApplicationStateController extends Controller
|
|||||||
}
|
}
|
||||||
$now = time();
|
$now = time();
|
||||||
if ($last + 60 < $now) {
|
if ($last + 60 < $now) {
|
||||||
Session::getSession()->refreshId();
|
Session::getSession()->write();
|
||||||
$params = session_get_cookie_params();
|
$params = session_get_cookie_params();
|
||||||
setcookie(
|
setcookie(
|
||||||
'icingaweb2-session',
|
'icingaweb2-session',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user