From c57e38595e78b63e54e392d3d17ffe6d98872981 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 11 Jun 2015 22:58:01 +0200 Subject: bring back long lasting session...maybe --- inc/3rdparty/Session.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/3rdparty/Session.class.php') diff --git a/inc/3rdparty/Session.class.php b/inc/3rdparty/Session.class.php index b56e4c54..6ff73a76 100644 --- a/inc/3rdparty/Session.class.php +++ b/inc/3rdparty/Session.class.php @@ -51,9 +51,9 @@ class Session public static function init($longlastingsession = false) { //check if session name is correct - if ( (session_id() && !empty(self::$sessionName) && session_name()!=self::$sessionName) || $longlastingsession ) { + /*if ( (session_id() && !empty(self::$sessionName) && session_name()!=self::$sessionName) || $longlastingsession ) { session_destroy(); - } + }*/ // Force cookie path (but do not change lifetime) $cookie = session_get_cookie_params(); -- cgit v1.2.3