From 6b2a928fd7129aeb8914c09c7bf98199bd4cb859 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 16 Nov 2015 15:34:26 +0100 Subject: [PATCH] Don't re-generate but save session every minute --- application/controllers/ApplicationStateController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/ApplicationStateController.php b/application/controllers/ApplicationStateController.php index 545f7993f..69f643438 100644 --- a/application/controllers/ApplicationStateController.php +++ b/application/controllers/ApplicationStateController.php @@ -21,7 +21,7 @@ class ApplicationStateController extends Controller } $now = time(); if ($last + 60 < $now) { - Session::getSession()->refreshId(); + Session::getSession()->write(); $params = session_get_cookie_params(); setcookie( 'icingaweb2-session',