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 meant by cookies?
Explain web application directory arrangement?
Explain url encoding in servlet?
What do you mean by request dispatcher in servlet? Also explain its methods.
Why do we need servlet filter?
How will two or three servlets interact or communicate with each other?
What methods do you use in servlet - applet communication?
why we should override only no-agrs init() method.
What is url encoding and url decoding
How printwriter is different from servletoutputstream?
List out the difference between ServletConfig and ServletContext?
If some new data has entered the database, explain how can a servlet refresh automatically?
Whether thread can be used in servlets?
Explain is servlet mapping?
When Servlet is unloaded?