Set-Cookie Header is ignored when combined with Location Header
You cannot print a "Location" header combined with a "Set-Cookie" in IIS with default header processing settings. If this is done, IIS ignores it and just does the redirect. To avoid this, you must disable IIS header processing by appending "nph-" to the front of the filename and print out the HTTP header along with the cookie and location. Please refer to the following Microsoft Knowledgebase article for more information:
http://support.microsoft.com/default.aspx?scid=kb;en-us;176113
<< Back |