aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 1506
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookie handling...
 
Similar Threads
Use of Cookie
addCookie method
session handaling in servlet
Loop through cookies and get value for a particular cookie name.
please tell me when to use Session and Cookie?