This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 339
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: 12682
This is a servlet question - ask it in the servlet forum.
I agree. Here's the link:
subject: Update cookie ???
Similar Threads
Deleting Cookie from Parent Window
cookie value set problem
cookie are the cashed in the browser ???
update cookies ????
role of cookie in session