summaryrefslogtreecommitdiff
path: root/config.php-dist
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-15 20:51:12 +0400
committerAndrew Dolgov <[email protected]>2013-03-15 20:51:12 +0400
commit469061fef1ed72aab402a8c45856b2fa10082f0f (patch)
tree5f01c909a1202dc2b1f5e73932bcd5cc06162fc0 /config.php-dist
parent858142054c1d3b49b0f23145c85fa9d9f3089ddb (diff)
config: bump default values for cookie expiration times (refs #539)
Diffstat (limited to 'config.php-dist')
-rw-r--r--config.php-dist4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.php-dist b/config.php-dist
index b1f238ca0..eaaaa3d69 100644
--- a/config.php-dist
+++ b/config.php-dist
@@ -125,11 +125,11 @@
// *** Cookies and login sessions ***
// **********************************
- define('SESSION_COOKIE_LIFETIME', 0);
+ define('SESSION_COOKIE_LIFETIME', 86400*30);
// Default lifetime of a session (e.g. login) cookie. In seconds,
// 0 means cookie will be deleted when browser closes.
- define('SESSION_EXPIRE_TIME', 86400);
+ define('SESSION_EXPIRE_TIME', 86400*30);
// Hard expiration limit for sessions. Should be
// greater or equal to SESSION_COOKIE_LIFETIME