[ 
https://issues.apache.org/jira/browse/WICKET-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793152#action_12793152
 ] 

Marat Radchenko commented on WICKET-2630:
-----------------------------------------

Attention, cookies are stored in two places, MockHttpServletResponse.cookies 
and MockWebApplication.cookiesOfThisSession

> MockHttpServletResponse doesn't delete cookies
> ----------------------------------------------
>
>                 Key: WICKET-2630
>                 URL: https://issues.apache.org/jira/browse/WICKET-2630
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.5
>            Reporter: Marat Radchenko
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to