Thx Danny,
   It worked !!

Yogesh

-------------------------------------------
Danny Rubis <[EMAIL PROTECTED]> wrote:
Hey!

Try this:
  Cookie cookie;

   for (int i = 0; i < cookies.length; i++) {
    cookie = new Cookie(Mycookies[i].getName(), Mycookies[i].getValue());
    cookie.setMaxAge(0);
    response.addCookie(cookie);
}

I cut this from some working code that I have.  I hope that it helps and I
hope
I
didn't leave anything out.

Basically, you need to rewrite the Cookie to setMaxAge(0).

Danny Rubis
p://www.lsoft.com/manuals/user/user.html


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

___________________________________________________________________________
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