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
What is called jsp directive?
How can I implement a thread-safe jsp page?
Can jsp run without server?
How does error handling occur with jstl?
What is jsp index?
How to ignore the el expression evaluation in a jsp?
Why use of scripting elements in jsp is discouraged?
What is application in jsp?
What is the use of session management?
What is tag file?
Define Static Block.
What are the different types of jsp directive?
What is a scriptlet?
How can we avoid direct access of jsp pages from client browser?
What are the advantages and disadvantages of thread-safe jsp page?