where the session data will stored?

Answers were Sorted based on User's Feedback



where the session data will stored?..

Answer / 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

where the session data will stored?..

Answer / niranjanravi

session objects

Is This Answer Correct ?    9 Yes 6 No

where the session data will stored?..

Answer / jai

session data will be stored in appdomain aspnet_wp.exe when
session sate mode is inproc, for stateserver it will be
stored in windows service aspnet_state.exe, for sqlserver
it will be stored in the database persistsqlstate.exe

Is This Answer Correct ?    5 Yes 4 No

where the session data will stored?..

Answer / chaudhary

Session data is stored in cookoies if cookies are enabled on client browser. If cookies are disabled then it can make available frm session objects.

Is This Answer Correct ?    6 Yes 9 No

Post New Answer

More Servlets Interview Questions

How does java thread pool work?

0 Answers  


What is servlet and how it works?

0 Answers  


What are the different methods of session management in servlets?

0 Answers  


init() method of servlet loaded by?

3 Answers  


What do you mean by cgi?

0 Answers  






how a user session can be tracked in servlets?

1 Answers  


What is ServletContext object?

0 Answers  


What is the GenericServlet class?

0 Answers  


Who is responsible to create the object of servlet?

0 Answers  


What is the directory structure of a war file?

0 Answers  


How printwriter is different from servletoutputstream?

0 Answers  


when you comppile the servlet is it neccesary to restaet the tomcat server?

6 Answers   HCL,


Categories