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 |
Difference between httpservlet and generic servlets?
How to get the current httpsession object?
How can an existing session be invalidated?
which method in doGet or doPost is use to send binary date to server
How does Cookies work in Servlets?
What is meant by session? Tell me something about httpsession class?
What is meant by a web application
What are the type of protocols used in httpservlet?
Can a jsp be called using a servlet?
Can you call a jsp from the servlet?
Explain the steps involved in placing a servlet within a package?
can v create a constructor 4 servlet?