On Thu, Nov 17, 2011 at 8:54 AM, Dirk Forchel <[email protected]> wrote:
> Why is it important not to use RestartResponseException? In Wicket 1.4 it was
> the preferred way to redirect to another (error) page e.g. in case of a
> missing resource during construction time of a page.

1) response.addCookie(cookie)
2) reset the response
3) no cookies in this response anymore

I'm not saying to not use RestartResponseException at all. I'm just
saying that it will lose any headers you set to the current response
so far.

>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-3-problems-with-cookies-tp4078351p4079137.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to