This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Found Answer on to Delete a Cookie in servlet Request  RSS feed

craig motell
Posts: 6
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!