From 0dace7a404a47ac0a21e47758cef35d6eb9bc38b Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Wed, 23 Feb 2022 13:36:40 +0100 Subject: [PATCH] Keep session alive until browser closes --- index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.php b/index.php index 4ecdcce4..9e30c464 100644 --- a/index.php +++ b/index.php @@ -54,6 +54,8 @@ if ( /** * Session */ +ini_set('session.gc_maxlifetime', 0); + session_start(); /**