File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookie handling..." Watch "Cookie handling..." New topic
Author

Cookie handling...

Tom Diamond
Ranch Hand

Joined: May 10, 2001
Posts: 98
Hello,
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?
Tom.
Bosun Bello
Ranch Hand

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

Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
wasi_wasi
Greenhorn

Joined: Jul 12, 2001
Posts: 3
Yes that cookie is overwritten
 
jQuery in Action, 2nd edition
 
subject: Cookie handling...
 
Similar Threads
please tell me when to use Session and Cookie?
addCookie method
Use of Cookie
Loop through cookies and get value for a particular cookie name.
session handaling in servlet