From b8f54d1408e1980bf6bea7db2c2891883df1ed9b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 24 May 2007 10:11:35 +0000 Subject: [PATCH] "fixed IE cookie problem: IE seems not to care for the path when deleting cookies, beside using the oposite order in processing the cookies" --- phpgwapi/inc/class.sessions.inc.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/phpgwapi/inc/class.sessions.inc.php b/phpgwapi/inc/class.sessions.inc.php index d811bc732d..651183518a 100644 --- a/phpgwapi/inc/class.sessions.inc.php +++ b/phpgwapi/inc/class.sessions.inc.php @@ -13,9 +13,7 @@ * @license LGPL * @version $Id$ */ -error_log('>>>>>>>>>> eGW-trunk '.$_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING']); -error_log('_COOKIE='.print_r($_COOKIE,true)); -error_log('_POST='.print_r($_POST,true)); + /** * eGW's Session Management * @@ -168,7 +166,7 @@ error_log('_POST='.print_r($_POST,true)); * * @var boolean */ - var $errorlog_debug = true; + var $errorlog_debug = false; /** * Constructor just loads up some defaults from cookies @@ -543,7 +541,9 @@ error_log('_POST='.print_r($_POST,true)); $this->egw_set_cookiedomain(); } if (is_null($cookiepath)) $cookiepath = $this->cookie_path; -error_log("setcookie($cookiename,$cookievalue,$cookietime,$cookiepath,$this->cookie_domain)"); + + if ($this->errorlog_debug) error_log("setcookie($cookiename,$cookievalue,$cookietime,$cookiepath,$this->cookie_domain)"); + setcookie($cookiename,$cookievalue,$cookietime,$cookiepath,$this->cookie_domain); }