note 1295 modified in function.setcookie by imajes
| From: | imajes@php.net | Date: | Wed, 30 Jan 2002 05:39:00 +0000 |
| Subject: | note 1295 modified in function.setcookie by imajes | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-26003@lists.php.net to get a copy of this message | ||
Clarification: Bug is in IIS, not IE.
There are several references to a bug when header("Location:") is used in
conjunction with setcookie. Several comments talk about this happening in IE4.
It's not an IE4 bug, it's an IIS bug. The bug also appears to exist in IIS 5 (Windows
2000). The bug is documented in KB article http://support.microsoft.com/support/kb/articles/q176/1/13.asp.
I found that using <META http-equiv="Refresh" content="0;URL:your URL">
seems to work as an alternative.
--was--
<p><b>Clarification:</b> Bug is in IIS, not IE.</p>
<p>There are several references to a bug when header("Location:") is used in
conjunction with setcookie. Several comments talk about this happening in IE4.</p>
<p>It's not an IE4 bug, it's an IIS bug. The bug also appears to exist in IIS 5
(Windows 2000). The bug is documented in KB article <a href="http://support.microsoft.com/support/kb/articles/q176/1/13.asp">Q176113</a>.</p>
<p>I found that using <META http-equiv="Refresh"
content="0;URL:</i>your URL</i>"> seems to work as an
alternative.</p>
http://www.php.net/manual/en/function.setcookie.php