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 |
Name the webserver that is used to run Servlets?
What are the steps that are involved in using the httpservlet class?
What are the types of an http request?
Can you refresh servlet in client and server-side automatically?
what is meant by Transaction Isolation Levels?
How long do servlets last?
How do I support both get and post from the same servlet?
What are the advantages of servlets over traditional cgi?
What are the uses of servlets?
How do you deal property files in servlet?
What is the first statement in jsp page.
What is cookie in servlet?