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
Give a few examples of page life cycle events.
What is user control in asp.net?
How does session work in asp net?
What is the difference between exe and dll?
What is difference in .net 1.1 and .net 2.0?
What is the state management in asp.net?
What do you mean by caching in asp.net?
What is marshalling ? Is it a part of asp.net ?
What do you understand by aggregate dependency?
Differentiate globalization and localization.
What is a web pool?
What is full form of asp.net?
What is the basic difference between asp and asp.net?
What is the difference between cache and cookies?
Explain different types of Caching techniques in ASP.NET?