what is a session object?

Answers were Sorted based on User's Feedback



what is a session object?..

Answer / guest

session object is used to maintain a user session related
information on the server side. you can store,retrieve and
remove information from a sessoion object according to ur
program logic.A session object created for each user
persists on the server side,either until user closes the
browser or user remains idle for the session expiration
time,which is configurable on each server.

Is This Answer Correct ?    17 Yes 2 No

what is a session object?..

Answer / 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

More Servlets Interview Questions

What is called a session?

0 Answers  


where the generated jsp source file are stored?

7 Answers   HCL,


what is the difference between Servlet and JSP?Advantage of JSP over Servelt?Any concept present in JSP which we cant implement in Servlet?

31 Answers   ABC, Apere, AZTEC, CTS, CybAge, iFlex, Impact Systems, Sara, TCS,


What is http servlet?

0 Answers  


What is the capacity that doGet method can send to the server?

5 Answers  






Write a hello world program using servlets.

0 Answers  


how the jsp page can be regenerated?

2 Answers   HCL,


what is multiple server?

0 Answers  


What is forward() and include() of servlets RequestDispatcher interface?

6 Answers   HCL,


difference between forward and sendredirect

6 Answers   Accenture,


Is java servlet still used?

0 Answers  


Can I override destroy() method of Servlets?

4 Answers   Accenture,


Categories