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 |
when the jsp page is translated to servlet?
HTTP tunneling means what?
What is java servlet?
what is the difference between doGet() and doPost()?
List the Different types of servlet?
When a servlet accepts a call from a client, it receives two objects. What are they?
What is a web container and what is its responsibility?
Can you send an authentication error from a servlet?
Why don't we write a constructor in a servlet?
What is a server side include (ssi)
How to read request headers from servlets?
what is the difference between servlets and struts?