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
Name the packages that work with servlet?
What is servlet api used for conneting database?
How do you invoke a servelt?
When servlet is loaded?
What is the process to implement doget and dopost methods?
How to upload a file to the server using servlet?
What's the difference between authentication and authorization?
Explain load on start-up and its importance?
What are life cycle methods of a servlet?
Explain the working of service() method of a servlet.
What is the difference between the servlets and cgi programs?
Which method of the httpservletrequest object is used?
Can a jsp be called using a servlet?
What is the servletconfig object?
What do you mean by annotations in servlet?