Increase session lifetime to 12 months

This commit is contained in:
grandeljay 2022-09-22 10:22:24 +02:00
parent a72108ec5e
commit 583f2b0763

View file

@ -40,7 +40,7 @@ spl_autoload_register(
/** /**
* Session * Session
*/ */
$sessionLifetime = 2592000; // 1 Month $sessionLifetime = 2592000 * 12; // 12 Months
session_set_cookie_params($sessionLifetime, '/'); session_set_cookie_params($sessionLifetime, '/');
session_start(); session_start();