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 dispatcher servlet?
What is the difference between using getSession(true) and getSession(false) methods?
What are the life cycle methods of a servlet?
What is called Session Tracking?
How do we call one servlet from another servlet?
How to get the current httpsession object?
What do you mean by url pattern in servlet?
What's the use of servletcontext?
What is a web container and what is its responsibility?
What is the difference between sendredirect() and forward() in a servlet?
How do you invoke a servelt?
What is a deployment descriptor?
What is a servlet-to-servlet communcation?
What do you mean by chaining in servlet?
How can a servlet be used to generate plain text instead of html?