config: bump default values for cookie expiration times (refs #539)
This commit is contained in:
parent
858142054c
commit
469061fef1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue