diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-08 16:55:11 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-08 16:55:11 +0200 |
commit | 30b5969a826bed8214feebbc12e2eaeb8981c5a3 (patch) | |
tree | 08b8cdb66000b6c5249c4c2272805d1ad2524887 | |
parent | bc0fa40b24f73ccce067f2d23e9aae1335c46694 (diff) |
Change the session lifetime (valid until the browser is closed)
-rw-r--r-- | app/Core/Session.php | 4 |
1 files changed, 3 insertions, 1 deletions
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 |