top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How does we can delete a Cookie within a JSP?

+2 votes
97 views
How does we can delete a Cookie within a JSP?
posted Jan 31, 2015 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

we cant delete cookie, but if we set max age to 0, i think it will work.
cookie.setMaxAge(0)

answer Feb 1, 2015 by Garima Gupta
...