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

What are sql joins?

572


What are cao and sao.

548


What are the best practices to follow to secure connection strings in an ASP.NET web application?

558


Write the different features of a Thread and a Process?

628


Is oauth for authentication or authorization?

592






What is http post and http get?

546


Describe paging in asp.net?

676


How can we make sure that Web API returns JSON data only?

545


What is a postback ispostback and autopostback in asp net?

481


What is the maximum amount of memory any single process on windows can address?

536


What is virtual directory in asp.net?

514


How long should a session id be?

530


Describe state management in asp.net?

553


Can you explain the basic use of dataview?

625


What does asax stand for?

524