Which version of Orion are you using? I know at least one cookie bug that
was recently fixed, so please make sure you are using a new version of
Orion.

Joel Shellman
Chief Software Architect
http://www.ants.com/90589781

----- Original Message -----
From: "Dave Ford" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Monday, October 16, 2000 1:19 AM
Subject: setMaxAge(0) does not work correctly


> To delete a cookie called x, the following should work:
>
> Cookie c = new Cookie("x","bla");
> c.setMaxAge(0);
> response.addCookie(c);
>
> But it doesn't. Upon inspecting the http response header that was actually
> generated, I found this:
>
> Set-Cookie: a=18; Path=
>
> I beleive that setMaxAge should result in a value for "expires" perhaps
> something like this:
>
> Set-Cookie: a=18; Expires=some_past_date; Path=
>
> Dave Ford
>
>
>


Reply via email to