what is a session object?
Answers were Sorted based on User's Feedback
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 |
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 |
How do we go with database connection and log4j integration in servlet?
What do you mean by servlet context?
When should you prefer to use doget() over dopost()?
Is it possible to have a constructor inside the servlet?
What is a java servlet?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
What are the drawbacks of cgi?
What is servlet and how it works?
What if you need to span your transaction across multiple servlet invocations?
What is servlet container. how it works?
can i modify the data which are generated by the servlet
How is the get () method different from the post() method?