Description
From Cookie.setMaxAge javadoc:
- @param expiry an integer specifying the maximum age of the
- cookie in seconds; if negative, means
- the cookie is not stored; if zero, deletes
- the cookie
So, if maxAge is zero, MockHttpServletResponse should remove cookie.
Attachments
Attachments
Issue Links
- is related to
-
WICKET-2863 MockHttpServletResponse does not save Session cookies (maxAge = -1)
- Resolved