Re: forcing cookies to expire

2008-06-11 Thread Jeremy Thomerson
} > >> } > >> > >> Thanks, > >> > >> Josh > >> > >> > >> richardwilko wrote: > >>> > >>> Ive had the same problem. to delete a cookie do this: > >>> > >>> Cookie newC

Re: forcing cookies to expire

2008-06-11 Thread jchappelle
ie("my cookie name here!", null); >>> newCookie.setMaxAge(0); >>> newCookie.setPath("/"); >>> getWebRequestCycle().getWebResponse().addCookie(newCookie); >>> >>>

Re: forcing cookies to expire

2008-06-11 Thread Johan Compagner
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-tp170672

Re: forcing cookies to expire

2008-06-10 Thread jchappelle
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-cookie

Re: forcing cookies to expire

2008-06-10 Thread richardwilko
) 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 a

Re: forcing cookies to expire

2008-06-10 Thread jchappelle
ething about "pushing" to the >> HttpServletResponse object. What does this mean, exactly? >> >> Thanks >> >> -Original Message- >> From: Johan Compagner [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, May 07, 2008 2:24 AM >> To: user

Re: forcing cookies to expire

2008-05-08 Thread Johan Compagner
[mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 07, 2008 2:24 AM > To: users@wicket.apache.org > Subject: Re: forcing cookies to expire > > how is that page called/created? > > if you do this: > > public SignOut() > { > clearCookie(

RE: forcing cookies to expire

2008-05-07 Thread Andrew Broderick
rs@wicket.apache.org Subject: Re: forcing cookies to expire how is that page called/created? if you do this: public SignOut() { clearCookie(Register.REMEMBER_ME_COOKIE); getSession().invalidate(); getRequestCycle().setRedirct(false)

Re: forcing cookies to expire

2008-05-07 Thread Johan Compagner
getSession().invalidate(); >} > > As I mentioned the cookie is never cleared. Is there something else I need > to do? > > Thanks > > -Original Message- > From: Johan Compagner [mailto:[EMAIL PROTECTED] > Sent: Monday, May 05, 2008 5:58 PM > To: users@wick

RE: forcing cookies to expire

2008-05-06 Thread Andrew Broderick
there something else I need to do? Thanks -Original Message- From: Johan Compagner [mailto:[EMAIL PROTECTED] Sent: Monday, May 05, 2008 5:58 PM To: users@wicket.apache.org Subject: Re: forcing cookies to expire When is that clear cookie called? Can you follow that call a bit more, is it

Re: forcing cookies to expire

2008-05-05 Thread Johan Compagner
When is that clear cookie called? Can you follow that call a bit more, is it pushed to the httpservletresponse object? On 5/5/08, Andrew Broderick <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to manage cookies in Wicket. I can create them and read them no > problem, but forcing expiry by setti

forcing cookies to expire

2008-05-05 Thread Andrew Broderick
Hi, I am trying to manage cookies in Wicket. I can create them and read them no problem, but forcing expiry by setting maxAge=0 does not seem to be working. Here is the code: Set cookie: public void setRememberMeCookie(String username) { Cookie cookie = new Cookie(REMEM