How can a cookie is deleted with JSP?
Answer / 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 |
what is social transformation system? any site reference? How i get requirement gathering about for it? i wanna build website on this topic
Which jsp implicit objects are thread safe?
How can the output of JSP or servlet page be prevented from being cached by the browser?
How run jsp program in netbeans?
What is the purpose of jsp?
how to pass values to a function fron input tags, and how to display that values in that called function
Why is _jspservice() method starting with an '_' while other life cycle methods do not?
What are the elements of a jsp page?
What is the difference between include directive and include action?
What are JSP Directives?
What is jsp taglib?
Perform a browser redirection from a jsp page?