diff --git a/phpgwapi/inc/class.sessions_php4.inc.php b/phpgwapi/inc/class.sessions_php4.inc.php index fd497ef9fe..e638221be3 100644 --- a/phpgwapi/inc/class.sessions_php4.inc.php +++ b/phpgwapi/inc/class.sessions_php4.inc.php @@ -29,7 +29,9 @@ function sessions() { $this->sessions_(); - //controls the time out for php4 sessions - skwashd 18-May-2003 + //respect the config option for cookies + ini_set('session.use_cookies', $GLOBALS['phpgw_info']['server']['usecookies']); + //controls the time out for php4 sessions - skwashd 18-May-2003 ini_set('session.gc_maxlifetime', $GLOBALS['phpgw_info']['server']['sessions_timeout']); define('PHPGW_PHPSESSID', ini_get('session.name')); }