Abdullah Jibaly Abdullah Jibaly - 1 month ago 11
HTTP Question

Sending browser cookies during a 302 redirect

Are there any issues with sending back a cookie during a 302 redirect? For example, if I create a return-to-url cookie and redirect the user in the same response will any (modern) browser ignore the cookie?

Answer

Most browser are accepting cookies on 302 redirects. I was quite sure of that, but I made a little search. Not all modern browsers. http://connect.microsoft.com/VisualStudio/feedback/details/586916/silverlight-client-http-stack-ignores-set-cookie-on-302-redirect-responses

I think we now have a replacement for IE6 and it's Windows Mobile browsers...