wood burning stoves
The moose likes Servlets and the fly likes Found  Answer on to Delete a Cookie in servlet Request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Found  Answer on to Delete a Cookie in servlet Request" Watch "Found  Answer on to Delete a Cookie in servlet Request" New topic
Author

Found Answer on to Delete a Cookie in servlet Request

craig motell
Greenhorn

Joined: Oct 03, 2008
Posts: 6
I asked how to delete a cookie in a servlet. I was always trying something like:


but cookie would never go away. I would add setDomain, setSecure, etc, etc.

The trick is also to set the value. Why do you need to set a value if you are going to delete a cookie? Uhm,

anyway the following actually deletes a cookie


 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Found Answer on to Delete a Cookie in servlet Request
 
It's not a secret anymore!