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
Write a simple servlet program to print the contents of html.
What is difference between PrintWriter and ServletOutputStream?
What do you mean by request dispatcher in servlet?
What is the difference between sendredirect() and forward() in a servlet?
What is the capacity the doget can send to the server?
When a servlet accepts a call from a client, it receives two objects. What are they?
What are the uses of servlet and what is servlet chaining?
Should I override the service() method?
What is the use of httpservletresponsewrapper?
Which event is fired at the time of project deployment and undeployment?
Why the concept of single thread model interface is used?
What are the different methods involved in the process of session management in servlets?
Explain servlet.
How do you communicate in between Applets and Servlets?
Define servlet mapping?