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 difference between PrintWriter and ServletOutputStream?

0 Answers  


What is the difference between get and post methods?

0 Answers  


What is the difference between an applet and a servlet?

15 Answers   GCEW, Miracle Solutions,


Explain in detail about applet to servlet communication?

1 Answers  


Does servlet have main method?

0 Answers  






What is the effective way to make sure all the servlets are accessible only when user has a valid session?

0 Answers  


What are the types of Session Tracking ?

0 Answers  


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

5 Answers   Accenture, L&T, TCS,


What's the advantages using servlets than using cgi?

0 Answers  


What do you mean by interservlet communication?

0 Answers  


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

0 Answers  


Can we use servlets in JavaScript?

2 Answers  


Categories