What is the difference between a session object and cache object
Answer Posted / 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 |
Post New Answer View All Answers
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
What is the mvc framework?
What is session state server?
What are the namespace classes used in asp.net mvc? : asp.net mvc
What is Cookies Less Session?
How to add DateTime Control in normal DataGrid Server Control?
What are the security types in ASP/ASP.NET? Different Authentication modes?
Explain the different types of directives in .net?
What is the postback property in asp.net?
Which protocol is used to call a web service?
Which is the parent class of the web server control?
What are the Types of chaching. How to implement caching
in which protocol ASP.NET WEB API Work?
Define machine.config in .net?
What are client activated objects and server activated objects?