Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

1. What is the difference between Cache and Session?
2. I cache limited to page like viewstate or it's accessible
through out the application like session?
3. Which one is better when I've some data that is to be
used across the application? Why is to better than the other?

Answer Posted / praveen singh

1.
A. Sessions may not improve performance whereas Cache will
improve site performance.

B. Sessions may change from user to user whereas a single
Cache will be maintained for the entire application.

C. Cache wont maintain any state, whereas Sessions will
maintain separate state for every user.

2.
Yes Cache is accessible through out entire application
3.
Application beacuse application object is share by entire
application.

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between ldap and active directory?

1082


How many types cache in asp net?

1085


What is the difference between adding reference in solution explorer and adding references by using ?

1088


What are triggers of an updatepanel?

972


Why does my asp.net file have multiple tag with runat=server?

994


Explain asp.net mvc request life cycle? : asp.net mvc

1077


I’m having some trouble with cas. How can I diagnose my problem?

1042


What is custom attribute? How to create?

1087


How to create events for a control?

1021


Which type if caching will be used if we want to cache the portion of a page instead of whole page?

922


What is the use of web.config and machine.config files?

1151


How response object is related to asp's response object?

916


Is web config mandatory?

978


Describe the difference between inline and code behind - which is best in?

1072


What are the types of authentication in asp.net?

1031