summaryrefslogtreecommitdiff
path: root/program/include/iniset.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-25 13:30:18 +0000
committerthomascube <thomas@roundcube.net>2008-09-25 13:30:18 +0000
commitcefd1d8c913aa81ddce83e9de7f5bfb22aa4b2d9 (patch)
tree695d794292a1468ddfdfb3812f2be408c43c0017 /program/include/iniset.php
parentcc4b36b143fbcdaa1895a732c54eb19a55b953cf (diff)
DRY: set (secure) cookies using rcmail::setcookie() + set session.only_use_cookies
Diffstat (limited to 'program/include/iniset.php')
-rwxr-xr-xprogram/include/iniset.php1
1 files changed, 1 insertions, 0 deletions
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);