From 9ce7a5546c6d9cca8aa8be524d43c735e2bd7182 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 Apr 2013 15:33:14 +0400 Subject: implement some tweaks to session handling; properly remove session cookie if invalid/login failed --- api/index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'api/index.php') diff --git a/api/index.php b/api/index.php index 50703175b..53b78b010 100644 --- a/api/index.php +++ b/api/index.php @@ -11,6 +11,7 @@ chdir(".."); define('TTRSS_SESSION_NAME', 'ttrss_api_sid'); + define('NO_SESSION_AUTOSTART', true); require_once "db.php"; require_once "db-prefs.php"; -- cgit v1.2.3-54-g00ecf