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
What is the behavior of a Web browser when it receives an invalid element?
What is postback request?
What is asp.net master page?
What is the default Orientation property in a Menu control?
What is active web page?
What is asp.net used for?
What is webresource axd?
Define the term Scavenging in Caching?
What do you mean by role-based security?
Give a few examples of page life cycle events.
What are the types of session in asp.net?
Do you know using sql cache invalidation?
What is the equivalent of date() and time() in asp.net?
Define machine.config in .net?
Define repository pattern in asp.net mvc? : asp.net mvc