difference between caching objects in session objects?
Answer Posted / dhananjeyan
1. Sessions may not improve performance whereas Cache will
improve site performance.
2. Sessions may change from user to user whereas a single
Cache will be maintained for the entire application.
3. Cache wont maintain any state, whereas Sessions will
maintain separate state for every user.
I hope it would help.
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?
What is a server farm in iis?
How many types of validation are there?
What are the new login controls in asp.net 2.0?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
What New Features comes with ASP.NET Web API 2.0?
Where is http session stored?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
How to change Master page in ASP.Net using code?
What is state management in .net?
How will create assesblies at run time?
What is webresource axd?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
How do you declare static variable? What is its lifetime?
What are Session states available and its Uses?