From db24146131cfa83c7777dcc00335127ff70540bd Mon Sep 17 00:00:00 2001 From: ffiesta <25620658+ffiesta@users.noreply.github.com> Date: Wed, 27 Nov 2024 22:51:05 +0000 Subject: [PATCH 1/2] Update Session.class.php Change regenerate session from 5 minutes to 1 hour, to better work. --- classes/Session.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Session.class.php b/classes/Session.class.php index 55c4e67..29bcbfe 100644 --- a/classes/Session.class.php +++ b/classes/Session.class.php @@ -42,7 +42,7 @@ function start(){ if (!isset($_SESSION['last_regeneration'])) { $_SESSION['last_regeneration'] = time(); } - if (time() - $_SESSION['last_regeneration'] > 300) { // regenerate every 5 minutes + if (time() - $_SESSION['last_regeneration'] > 3600) { // regenerate every 1 hour session_regenerate_id(true); $_SESSION['last_regeneration'] = time(); } From 837448a901ab80f78b94ba523a17e55d82c14e24 Mon Sep 17 00:00:00 2001 From: ffiesta <25620658+ffiesta@users.noreply.github.com> Date: Wed, 27 Nov 2024 23:02:16 +0000 Subject: [PATCH 2/2] Update VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 7b8d6b7..7f2b140 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.65 +1.0.66