Session: change cookie lifetime from "until browser is closed" to 14 days #37

Closed
minnozz wants to merge 1 commits from session-duration into master
Showing only changes of commit 682aaab15e - Show all commits

View File

@ -10,6 +10,9 @@ class Session
{
public static function start()
{
session_set_cookie_params([
'lifetime' => 24 * 3600 * 14 // 14 days
]);
session_start();
// Resuming an existing session? Check what we know!