7 05 2015
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.