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 |
Explain the difference between servlet and cgi?
What is the process to implement doget and dopost methods?
How can I send user authentication information while making URL Connection?
How can you use a servlet to generate a plain text instead of html?
What are the advantages of cookies?
What is the procedure of invoking different servlet in a different application?
How to generate the server side programming and the advantages of it over the other languages?
How can the session in servlet be destroyed?
How can you push data from an Applet to a Servlet?
What are the different types of servlets?
What is a web application and what is it’s directory structure?
What's the use of servletcontext?