From 296332efa38d25e18ffe066843d707bbc835068c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 8 Mar 2021 16:49:30 +0100 Subject: [PATCH] Add hint about possible limit when setting a session_lifetime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- config/config.sample.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/config.sample.php b/config/config.sample.php index 5792381e4d..72679a5299 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -249,6 +249,9 @@ $CONFIG = [ /** * The lifetime of a session after inactivity. * + * The maximum possible time is limited by the session.gc_maxlifetime php.ini setting + * which would overwrite this option if it is less than the value in the config.php + * * Defaults to ``60*60*24`` seconds (24 hours) */ 'session_lifetime' => 60 * 60 * 24,