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 |
What is cookie? Why is cookie used?
What is the difference between ExecuteUpdate and ExecuteQuery?
What is the difference between forward () and sendredirect () functions in servlet? Explain
When servlet is loaded?
In which cases Destroy() is invoked?
What is Request Dispatcher?
What is cgi and what are its drawbacks?
What is httpservlet and how it is different from genericservlet?
What are the common methods that are included in the http servlet class?
Is JSP Thread Safe ???? How To make JSP thrad safe ?????
What is setattribute in servlet?
Which event is fired at the time of setting, getting or removing attribute from application scope?