From 30b5969a826bed8214feebbc12e2eaeb8981c5a3 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 8 Sep 2014 16:55:11 +0200 Subject: Change the session lifetime (valid until the browser is closed) --- app/Core/Session.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/Core') diff --git a/app/Core/Session.php b/app/Core/Session.php index 4f44e8e0..c824ba64 100644 --- a/app/Core/Session.php +++ b/app/Core/Session.php @@ -13,9 +13,11 @@ class Session /** * Sesion lifetime * + * http://php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime + * * @var integer */ - const SESSION_LIFETIME = 7200; // 2 hours + const SESSION_LIFETIME = 0; // Until the browser is closed /** * Open a session -- cgit v1.2.3