Ive had the same problem.  to delete a cookie do this:

Cookie newCookie = new Cookie("my cookie name here!", null);
newCookie.setMaxAge(0);
newCookie.setPath("/");
getWebRequestCycle().getWebResponse().addCookie(newCookie);     

i dont know why (i didnt really look into it) but u seem to have to create a
new cookie with the same name and add it.  maybe this is a wicket bug?

Richard
-- 
View this message in context: 
http://www.nabble.com/forcing-cookies-to-expire-tp17067292p17758907.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to