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…
Reference in New Issue