note 1295 modified in function.setcookie by imajes

From: 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(&quot;Location:&quot;) 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(&quot;Location:&quot;) 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 &lt;META http-equiv=&quot;Refresh&quot; content=&quot;0;URL:</i>your URL</i>&quot;&gt; seems to work as an alternative.</p> http://www.php.net/manual/en/function.setcookie.php

« previous php.notes (#26003) next »