From 469061fef1ed72aab402a8c45856b2fa10082f0f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 15 Mar 2013 20:51:12 +0400 Subject: [PATCH] config: bump default values for cookie expiration times (refs #539) --- config.php-dist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.php-dist b/config.php-dist index b1f238ca..eaaaa3d6 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 -- 2.39.5