Answer Posted / sandeep m
Session data is stored at server side in case of
HttpSession. Server creates a session object and stores at
server side and communicates session id to client for
further communication to be statefull. session id will be
sent to server along with further requests from the client.
In case of Cookies client maintains the session information
and sends the cookie object to server for each request. The
cookie object will be created by server but maintained by
client.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
what is servlet chaining?
When servlet is loaded?
How do servlets work?
What are the differences between the servletconfig interface and the servletcontext interface?
What is the difference between the http servlet and generic servlet?
What is Servlets and explain the advantages of Servlet life cycle?
When jsessionid is created?
How printwriter is different from servletoutputstream?
Why is servlet used?
How can a servlet be used to generate plain text instead of html?
Explain the steps involved in placing a servlet within a package?
Explain Action Servlet?
What do you mean by mime type?
Why are servlets used?
Can we refresh servlet in client and server side automatically?