From: Andrew Dolgov Date: Fri, 15 Mar 2013 16:51:12 +0000 (+0400) Subject: config: bump default values for cookie expiration times (refs #539) X-Git-Tag: 1.7.5~183 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=469061fef1ed72aab402a8c45856b2fa10082f0f;p=tt-rss.git config: bump default values for cookie expiration times (refs #539) --- 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