what is a session object?

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


Please Help Members By Posting Answers For Below Questions

What exactly is a servlet?

714


What is the use of servlet context?

747


What is the purpose of dispatcherservlet properties?

716


What is servlet and its advantages?

771


What is the servlet?

834


What is servlet name in web xml?

763


What are different methods of session management in servlets?

1008


Can you use javascript in servlets?

815


What's the architecture of a servlet package?

742


What do you mean by cgi in servlet?

813


Explain request dispatcher and its methods.

777


Differentiate between get and post?

889


Explain in brief the directory structure of a web application?

791


What are the common methods that are included in the http servlet class?

789


Why is Servlet so popular?

784