where the session data will stored?

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


Please Help Members By Posting Answers For Below Questions

Whether thread can be used in servlets?

728


What do you mean by a filter and how does it work?

538


How the servlet is loaded?

598


Explain the features are in servlet 3?

601


How is a servlet implemented in code?

566






How do you find out what client machine is making a request to your servlet

529


How to commuincate between an applet and a servlet?

587


How do you configure a centralized error handler in servlets?

531


How can I send user authentication information while making URL Connection?

542


What is the procedure of invoking different servlet in a different application?

559


What do you mean by mime type?

550


What is the difference between encodeRedirectUrl and encodeURL?

601


Why are http servlets used in programming?

546


What is cgi and what are its drawbacks?

549


Write a program to show the functionality of servlets.

553