Does NonResettingRestartException suppose to keep the cookies in the response ?
I am using wicket 6.6.0 on jboss 6 and when I throw a NonResettingRestartException, the cookies are not present in the request after. Cookie appCookie = new Cookie("appCoookie", "1"); ((WebResponse) getResponse()).addCookie(appCookie); // Redirection needed for client cookies detection. throw new NonResettingRestartException(AppWebSession.session().getNavigationManager().getEntryPoint() .getNodeClass(), this.pageParameters); ..... In the same page constructor the first thing i check is the presence of the cookie: Cookie requestCookie = ((WebRequest) getRequest()).getCookie("appCoookie"); System.out.println("----------------------->" + (requestCookie != null)); // Always false. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Cookie-detection-tp4657744p4657772.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org