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
Explain the lifecycle of a servlet?
What exactly are the functions of servlet?
Which application server is best for java?
What do you understand by mime type?
What are the drawbacks of cgi?
What is the difference between Difference between doGet() and doPost()?
What is java servlet session?
What do you mean by url pattern in servlet?
How do you deal property files in servlet?
How can the session in servlet can be destroyed?
Differentiate between the get and post method
What is servlet and its types?
why we should override only no-agrs init() method.
What is called a session?
What is the process to implement doget and dopost methods?