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
PROTECTED]]
Sent: Monday, October 16, 2000 10:20 AM
To: Orion-Interest
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. Upo
At 01:19 16.10.00 , you wrote:
please file a bug report in bugzilla.
robert
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
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);
Which version of Orion are you using?
I am using 1.3.8.
Dave Ford