How do I delete a cookie set by a servlet?

John Mitchell

Get the cookie from the request object and use setMaxAge(0) and then add the cookie to the response object.

See also How can I delete a cookie from within a JSP page?
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact