IE 9 set cookie and redirect fails

Viewed 6424

In my spring-application I try to set a cookie and than redirect to a page where the cookie is read. The redirect to another webpage works, but setting the cookies fails only in IE9.

Cookie cookie = MyCookieHandler.createCookie(parameters, domain);
response.addCookie(cookie);

The redirect is handled buy setting the ModelAndView

modelView = new ModelAndView("redirect:" + getCallback());

As I said works fine in FF3+, Chrome and IE7/IE8. What wrong in my app? Any suggestions?

3 Answers
Related