]> git.wh0rd.org - tt-rss.git/commitdiff
config: bump default values for cookie expiration times (refs #539)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 15 Mar 2013 16:51:12 +0000 (20:51 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 15 Mar 2013 16:51:12 +0000 (20:51 +0400)
config.php-dist

index b1f238ca010d6acd7b707daf768f76e3ee94115c..eaaaa3d6984dbe6debdb000edfe1d4082566db23 100644 (file)
        // *** 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