Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


What is a Session Id?



What is a Session Id?..

Answer / 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

More Servlets Interview Questions

What are the steps involved in placing a servlet within a package?

0 Answers  


Describe in brief RequestDespatcher?

0 Answers   Tech Mahindra,


What is Servlets and explain the advantages of Servlet life cycle?

0 Answers  


Servlet is pure java object or not?

0 Answers  


What are the difference between RMI and Servlets?

0 Answers  






What is difference between jsp and servlet?

0 Answers  


How to get the path of servlet in the server?

0 Answers  


Can we write a constructor for a Servlet class ? if yes how ? if no why not ?

10 Answers  


What are the methods in HttpServlet?

8 Answers  


What is java servlet session?

0 Answers  


What are cookies and how will you use them?

2 Answers  


What is the difference between forward () and sendredirect () functions in servlet? Explain

0 Answers  






Categories