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 is servlet and how it works?

0 Answers  


what is servlet life cycle?

3 Answers   Inforica,


What is the difference between Difference between doGet() and doPost()?

0 Answers  


What is new in ServletRequest interface ? (Servlet 2.4)

0 Answers  


when the several requests comes to server..how it manage the requests

4 Answers   iGate,






What is servlet initializer?

0 Answers  


can we create more than ServletContext and ServletConfig in your application

6 Answers   Patni,


how can we create object to a class in a jsp file?

5 Answers   Accenture, L&T, TCS,


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

0 Answers   ProKarma,


when will cookie information destroy?

7 Answers  


What are the life cycle methods of the servlet?

0 Answers  


What is done after deploying a war file and before client gives a request

2 Answers   Bosch,


Categories