config: bump default values for cookie expiration times (refs #539)

This commit is contained in:
Andrew Dolgov 2013-03-15 20:51:12 +04:00
parent 858142054c
commit 469061fef1

View file

@ -125,11 +125,11 @@
// *** Cookies and login sessions *** // *** 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, // Default lifetime of a session (e.g. login) cookie. In seconds,
// 0 means cookie will be deleted when browser closes. // 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 // Hard expiration limit for sessions. Should be
// greater or equal to SESSION_COOKIE_LIFETIME // greater or equal to SESSION_COOKIE_LIFETIME