Omicron Llama

Coding all day, every day.

Cookies not being forwarded with 302 redirect in Internet Explorer

I had an issue recently where cookies were not being forwarded with the request in a 302 Redirect, but only in Internet Explorer. This worked fine in Chrome.

The other interesting thing was that this was happening in an IFrame, the IFrame’s source was to a page that performed a redirect after setting a cookie.

Turns out the simple solution to this was to add the the relevant sites to IE’s Trusted Sites zone, as it’ll otherwise block the cookies that are tried to be set when inside an IFrame.

, , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *