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


Please Help Members By Posting Answers For Below Questions

How are sessions stored?

526


where can i gather the materials for MCP certification

4466


What is the compiled object?

1629


Where would you use an ihttpmodule, and what are the limitations of any?

539


What are directives in asp.net? List down all the important directives.

491






What is application and session in asp.net?

528


What is request and response in asp.net?

500


How to find last error which occurred?

527


Where is the view state data stored?

558


1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?

1776


What are the features of asp net?

506


What is master page in dtp?

539


What is the Difference between MVC And MVP design pattrens

2199


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

2216


Can you explain composite pattern?

582