From: Nicolas LÅ“uillet Date: Wed, 12 Feb 2014 20:52:51 +0000 (+0100) Subject: [change] time for session X-Git-Tag: 1.5.0^2~7 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=16fd1cce61a2b8fae4edce108d95f172c4dd32b1;p=github%2Fwallabag%2Fwallabag.git [change] time for session --- diff --git a/inc/3rdparty/Session.class.php b/inc/3rdparty/Session.class.php index 32624559..b30a31f3 100644 --- a/inc/3rdparty/Session.class.php +++ b/inc/3rdparty/Session.class.php @@ -31,9 +31,9 @@ class Session public static $sessionName = ''; // If the user does not access any page within this time, // his/her session is considered expired (3600 sec. = 1 hour) - public static $inactivityTimeout = 3600; + public static $inactivityTimeout = 86400; // Extra timeout for long sessions (if enabled) (82800 sec. = 23 hours) - public static $longSessionTimeout = 82800; + public static $longSessionTimeout = 31536000; // If you get disconnected often or if your IP address changes often. // Let you disable session cookie hijacking protection public static $disableSessionProtection = false;