Answer Posted / sandeep m
Http Protocol is stateless protocol. Hence server cannot
identify the request is from same client or different.
Hence server can treat every request as new request and may
ask for authentication for each request.
Hence for server to remember client and to respond in an
interactive way server needs to remember the client and its
activities. For which javax.servlet.http.HttpSession
interface is provided. Which helps in session tracking of
client requests.
HttpSession is one of the 4 ways of session tracking
mechanisms.
| Is This Answer Correct ? | 44 Yes | 3 No |
Post New Answer View All Answers
how the HTML data stored in web server?
What is getservletcontext?
What is servlet and its use?
What is a web container and what is its responsibility?
The code in a finally clause will never fail to execute, right?
How do you communicate in between Applets and Servlets?
Explain jsessionid?
What are the differences between servlet context vs servlet config?
What is session tracking?
What’s the difference between genericservlet and httpservlet?
How is a servlet implemented in code?
What do you mean by url pattern in servlet?
How to handle exceptions thrown by application with another servlet?
What is servlet attributes and their scope?
What are advantages of servlets over cgi?