Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
How does we can delete a Cookie within a JSP?
+2
votes
449
views
How does we can delete a Cookie within a JSP?
jsp
servlet
java
posted
Jan 31, 2015
by
Amit Kumar Pandey
Share this question
Your comment on this post:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
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
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Preview
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Similar Questions
+2
votes
Why use JSP when we can do the same thing with servlets?
+3
votes
How does a servlet communicate with a JSP page?
+1
vote
How can I get the absolute URL of a servlet/JSP page at runtime?
+1
vote
How does the performance of JSP pages compare with that of servlets? How does it compare with Perl scripts?
+2
votes
How do I upload a file to my servlet or JSP?
...