note 29776 added to function.setcookie

From: Date: Mon, 24 Feb 2003 22:23:23 +0000
Subject: note 29776 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-44460@lists.php.net to get a copy of this message
I found out that having a "Location: "-header sent (through header()) and setting a cookie with setcookie() is something that doesn't work on an IIS-server (for as far as I know up to version 5.0) and PHP installed as a CGI. Have a look at this Microsoft-page: http://support.microsoft.com/default.aspx?scid=KB;en-us;q176113 Easiest way to solve this is installing PHP as an ISAPI, but I guess the proposed solution works as well (need to go through some testing before I'm sure about that). Greetz, Bikeman -- http://www.php.net/manual/en/function.setcookie.php http://master.php.net/manage/user-notes.php?action=edit+29776 http://master.php.net/manage/user-notes.php?action=delete+29776 http://master.php.net/manage/user-notes.php?action=reject+29776

« previous php.notes (#44460) next »