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

Cookie handling...

Tom Diamond
Ranch Hand

Joined: May 10, 2001
Posts: 98
If a server has placed a cookie with a specific name on the client's machine and after a while the same server places a new cookie with the same name as the old one, the new cookie ovewrites the old one, or they both exist on the client?
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Since it's the same name, the new cookie overwrites the old one.


So much trouble in the world -- Bob Marley

Joined: Jul 12, 2001
Posts: 3
Yes that cookie is overwritten
I agree. Here's the link:
subject: Cookie handling...