where the session data will stored?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
My Question is that i am using <image> tag in my servlet and after compilation after that calling by url in my browser then images are not showing. Sometime images are showing and sometime is not showing. I am using Tomcat to run my servlets. Tell me if there any specification for image in servlets or what is solution for this ??
What is a java servlet?
What is the purpose of requestdispatcher interface?
What are the difference between session and cookies in servlet? Explain
What is filter? Can filter be used as request or response?
How will two or three servlets interact or communicate with each other?
Can servlet have a constructor ?
what is servlet and what you get when we use servlets?
What is servlet and its types?
Why doesn’t a servlet include main()? How does it work?
Which protocol will be used by browser and servlet to communicate
What is load-on-startup in servlet?