File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Update cookie ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Update cookie ???" Watch "Update cookie ???" New topic

Update cookie ???

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 358
I have a methoed where i try too update a cookie, but i seems that i am creating a new cookie, soo i have too cookies with the same name....

Do i realy have to delete the first cookie, by seeting expirydate to 0, and create a new cookie, or are there other ways too update my cookie ???

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12954
This is a servlet question - ask it in the servlet forum.
I agree. Here's the link:
subject: Update cookie ???