title: Deleting Cookies in Java / How browser delete cookies
body: <p>Could someone tell me how to delete the cookie that is either in memory of on hardrive in java on the client side? Just like how browser deletes all the cookies and session information. </p>
  
  <p>I'm trying to do some PoC's for my work and I'm using simple apache Http classes for sending requests and then passing cookies in multiple requests but what if let's say I want to delete my session that is stored in the cookie.</p>
  
  <p>I think this can be done because all browsers let you do this.</p>