summaryrefslogtreecommitdiff
path: root/config.php-dist
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-28 10:06:16 +0400
committerAndrew Dolgov <[email protected]>2013-03-28 10:06:16 +0400
commit6cfd3c149c44637e0aa0fd00d3b236aafa3edcbd (patch)
tree26e32f17b76fc0fa14f7cc54af224004bd0e71dd /config.php-dist
parentf231f438ba5cfefdbd6171e5bec408973db32ee2 (diff)
remove SESSION_EXPIRE_TIME
Diffstat (limited to 'config.php-dist')
-rw-r--r--config.php-dist6
1 files changed, 2 insertions, 4 deletions
diff --git a/config.php-dist b/config.php-dist
index 3e67a2487..1bb47d814 100644
--- a/config.php-dist
+++ b/config.php-dist
@@ -130,10 +130,8 @@
// 0 means cookie will be deleted when browser closes.
// Setting this to zero will affect several user preferences
// like widescreen mode not saving and disable "remember me".
-
- define('SESSION_EXPIRE_TIME', 86400*30);
- // Hard expiration limit for sessions. Should be
- // greater or equal to SESSION_COOKIE_LIFETIME
+ // Note that if remember me is not checked, session cookie
+ // will always expire with browser session.
define('SESSION_CHECK_ADDRESS', 1);
// Check client IP address when validating session: