Increase session lifetime to 12 months
This commit is contained in:
parent
a72108ec5e
commit
583f2b0763
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ spl_autoload_register(
|
|||
/**
|
||||
* Session
|
||||
*/
|
||||
$sessionLifetime = 2592000; // 1 Month
|
||||
$sessionLifetime = 2592000 * 12; // 12 Months
|
||||
|
||||
session_set_cookie_params($sessionLifetime, '/');
|
||||
session_start();
|
||||
|
|
Loading…
Reference in a new issue