Answer Posted / shakir khan
session is an object used by the servlet to track a user
interaction with web application across multiple HTTP
requests.
session is a collection or sequence of HTTP requests over a
period of time between client and webserver.when a session
is created,its life time is also set,defalut being 3 minute.
Upon expiration,session is destroyed,its resources returned
back to the engine.sessions can be prematurely destroyed by
the developer.
If a session is configured to last for 30 min.Upon
expired,client will need to start a new session.Each
session requires unqiue session id that can be used by the
client.
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
What is the purpose of requestdispatcher interface?
What are the advantages of cookies?
What is the
What is servlet collaboration?
What is difference between jsp and servlet?
What is the use of servletconfig interface?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What is the difference between servlet and filter?
Which method of the httpservletrequest object is used?
When Servlet is unloaded?
Can we get PrintWriter and ServletOutputStream both in a servlet?
How do you communicate in between Applets and Servlets?
What is difference between get and post method?
When should you prefer to use doget() over dopost()?
What are the types of an http request?