summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/Session.php4
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