Don't re-generate but save session every minute

This commit is contained in:
Eric Lippmann 2015-11-16 15:34:26 +01:00
parent 96466241c2
commit 6b2a928fd7
1 changed files with 1 additions and 1 deletions

View File

@ -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',