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 |
What are the different methods of session management in servlets?
how the server will know its the same jsp page?
What are the differences between the servletconfig interface and the servletcontext interface?
What is the directory structure of web application?
What is servlet?
How can the referrer and the target urls be used in servlet?
Hi friends, am newbie to servlet. My interviewer asked why used servlet in your application. i used servlet for controller logic and business logic . is it correct ?
What type of protocols are used in HttpServlet?
Explain the methods of request dispatcher in servlet?
What is servlet in simple terms?
How the servlet is loaded?
What are the types of an http request?