Answer Posted / rambabu gonela
HTTP protocol uses stateless connections. Connection exists
for only single request/response (makes connection to
server, sends request, gets response, closes connection)
On the client?s first request, the container generates a
unique ID (for recongize the client) and sends it back to
the client with response. The client sends back the ID
with each subsequent request. The container sees the ID,
finds the matching session and associates the session with
the request.
This Id called as a Session Id.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is difference between PrintWriter and ServletOutputStream?
What are the functions of the servlet container?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
What do you mean by the servlet chaining?
How do you get the ip address of the client in servlet?
List out the difference between ServletConfig and ServletContext?
When should you prefer to use doget() over dopost()?
Explain servlet events?
Why is http protocol called as a stateless protocol?
Whether we can get deadlock situation in servlets?
Is dispatcher servlet a singleton?
Why the concept of single thread model interface is used?
What do you mean by filter in servlet?
How do you find out what client machine is making a request to your servlet
Differentiate between the get and post method