}
> >> }
> >>
> >> Thanks,
> >>
> >> Josh
> >>
> >>
> >> richardwilko wrote:
> >>>
> >>> Ive had the same problem. to delete a cookie do this:
> >>>
> >>> Cookie newC
ie("my cookie name here!", null);
>>> newCookie.setMaxAge(0);
>>> newCookie.setPath("/");
>>> getWebRequestCycle().getWebResponse().addCookie(newCookie);
>>>
>>>
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
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
) 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
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
[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(
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)
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
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
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
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
12 matches
Mail list logo