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

A web service can only be written in .net? State whether true or false.

624


What is __ requestverificationtoken?

626


How is application management and maintenance improved in asp.net 2.0?

626


explain code with multi inhertance

1728


What is the difference between a candidate key and primary key?

612






Write a code snippet to implement the indentation in json in web api.

657


Why is asp.net so popular?

588


How to prepare culture-specific formatting in .net.

621


Explain in what order a destructors is called.

676


What are the disadvantages of using session?

559


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

638


Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?

646


Explain the features that make asp.net more used framework? : asp.net mvc

569


What is asp net objects?

612


What are the advantages of asp.net?

629