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
Why servlet is faster than jsp?
Is dispatcher servlet a singleton?
What is a deployment descriptor?
How can we include static files in the jsp page?
Explain the difference between generic servlet and http servlet?
Explain the servlet filter.
What is preinitialization of a servlet?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
What mechanisms are used by a Servlet Container to maintain session information?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What is the difference between forward () and sendredirect () functions in servlet? Explain
What do you mean by cgi in servlet?
Define the servlet mapping.
What is lazy loading and what is Generic Servlet Class?
What is java servlet session?