From cefd1d8c913aa81ddce83e9de7f5bfb22aa4b2d9 Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 25 Sep 2008 13:30:18 +0000 Subject: DRY: set (secure) cookies using rcmail::setcookie() + set session.only_use_cookies --- program/include/iniset.php | 1 + 1 file changed, 1 insertion(+) (limited to 'program/include/iniset.php') diff --git a/program/include/iniset.php b/program/include/iniset.php index 20fe27996..5ef5b7db7 100755 --- a/program/include/iniset.php +++ b/program/include/iniset.php @@ -52,6 +52,7 @@ if (set_include_path($include_path) === false) { ini_set('session.name', 'roundcube_sessid'); ini_set('session.use_cookies', 1); +ini_set('session.only_use_cookies', 1); ini_set('session.gc_maxlifetime', 21600); ini_set('session.gc_divisor', 500); ini_set('error_reporting', E_ALL&~E_NOTICE); -- cgit v1.2.3