What is the difference between a session object and cache object
Answers were Sorted based on User's Feedback
Answer / asif ismail kunnibhavi
Caching :- used to minimize the DB/Server hit and improves
Performance.data is available to all users.Can expire
automatically once duration is specified and untill memory
is available or expires as application restarts.
Session :- used to store data specific to user and remains
untill user loggs off or session expires. usually session
lasts for 20 minutes(configurable)
Is This Answer Correct ? | 24 Yes | 3 No |
Answer / nitin
Session is Global Storage Mechanism accessible from all
pages in the Web Application.
Cache object allow to place items in server memory so that
they can be quickly retrieved after the First Requist.
Is This Answer Correct ? | 3 Yes | 9 No |
What are the disadvantages of view state / what are the benefits?
How can you implement the postback property of an asp.net control?
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
which event in global.asx that fires for every request of same user?
What is a session in programming?
How information about the user's locale can be accessed?
what is difference between User Control,Custom Contro1,Web server control and template controls
What is http response header?
What is asp.net web application?
Difference between using directive vs using statement?
Where the viewstate is stored after the page postback?
What is application and session in asp.net?