----- Original Message -----
From: "Shuja Nawaz" <[EMAIL PROTECTED]>

> Even though I close all the browser windows.

Which browser(s) are you using?

> After retrieving the cookies
> "cookInfo" by using loop I'm  using
>
>     cookInfo.setMaxAge(0);
>       OR
>     cookInfo.setMaxAge(-1);
>
>     cookInfo.setPath("/");
>     response.addCookie(cookInfo);
>
> But this does't work.What may be wrong?


Was the path for the orignal cookie also set explicitly as "/"?
If not try to have the same path.
I have used  setMaxAge(0) and it deletes the cookie (container tomcat,
iPlanet App server).

cheers,
Gokul

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to