faqts : Computers : Programming : Languages : PHP : Not Quite PHP : Windows

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 10 people (80%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

Why do scripts that set cookies with Apache not work with IIS/PWS?

May 29th, 2001 10:41
Susan Ottwell, http://support.microsoft.com/support/kb/articles/Q176/1/13.ASP?LN=EN-US&SD=gn&FR=0&qry=redirect%20cookie&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=IIS


Apparently there is a bug in IIS/PWS that will cause the server to 
ignore a SetCookie header directive if there is also a redirection 
directive.  There appear to be a number of workarounds, from coding the 
redirection in JavaScript to switching to Apache.