@ -114,5 +114,9 @@
define('SESSION_COOKIE_LIFETIME_REMEMBER', 86400);
// Session cookie lifetime if "remember me" is checked on login.
define('SESSION_EXPIRE_TIME', 86400);
// Hard expiration limit for sessions. Should be
// >= SESSION_COOKIE_LIFETIME_REMEMBER
// vim:ft=php
?>
@ -4,7 +4,7 @@
require_once "config.php";
require_once "db.php";
$session_expire = 3600; //seconds
$session_expire = SESSION_EXPIRE_TIME; //seconds
ini_set("session.gc_probability", 50);
ini_set("session.name", "ttrss_sid");