How to set a cookie that is persisted only for the duration
fo the clients session?
Answer / janet
if u donot explicitly set a life time for the cookie using
cookie.setMaxAge(),the cookie is automatically deleted when
the user closes his browser.
| Is This Answer Correct ? | 2 Yes | 0 No |
How the servlet is loaded?
What's the servlet interface?
Is servlet a controller?
What is HTTP Session ?
what is servlet life cycle?
Given the request path below, which are context path, servlet path and path info?
Is JSP Thread Safe ???? How To make JSP thrad safe ?????
What is the use of servletconfig interface?
Which protocol will be used by browser and servlet to communicate
What are its drawbacks of cgi?
What is preinitialization of a servlet?
What is the procedure of invoking different servlet in a different application?