Answer Posted / venkat
<%
Cookie killMyCookie = new Cookie("mycookie", null);
<%-- mycookie is the cookie instance which we have to
delete%>
killMyCookie.setMaxAge(0);
killMyCookie.setPath("/");
response.addCookie(killMyCookie);
%>
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is jsp server side or client side?
What is a jsp file?
What is jsp life cycle?
Explain the uses of
When does a container initialize multiple jsp objects?
what are the tools used in your project , How to ask the answer this question
Is there a way I can set the inactivity lease period on a per-session basis?
Can we use javascript in jsp?
What is jsp api?
How do I perform browser redirection from a jsp page?
What is taglib uri in jsp?
What is the requirement of a tag library?
Which one is better jsp or servlet?
Can we write java code in jsp?
What is difference between jspwriter and servlet printwriter?