Sorry this was just a test cookie.
Even with the age,
Cookie appCookie = new Cookie("appCoookie", "1");
appCookie.setMaxAge(3600 * 5);
appCookie.setPath("/");
appCookie.setSecure(false);
the cookie is not transfer. When i debug, in the transferResponseMetaData of
the NonResettingRestartException class, the originalResponse and the
response are the same so the meta data are not written.
WebResponse originalResponse = (WebResponse) cycle.getOriginalResponse();
if (originalResponse != response) {
IMetaDataBufferingWebResponse bufferingWebResponse =
(IMetaDataBufferingWebResponse) response;
bufferingWebResponse.writeMetaData(originalResponse);
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Browser-Cookie-detection-tp4657744p4657780.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]