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 usie of activex control in .net?

954


Are there resources online with tips on asp to asp.net conversions?

986


What kind of programming language is ASP.NET?

1083


How do you sign out from forms authentication?

994


What is the syntax for datagrid and specifying columns?

2492


What are the event handlers that we can have in global.asax file?

928


while developing webservices if i want some users to use my webservice only how can i give security to my webservice?

1795


What is data grid view in asp.net?

899


What are the different types of validation controls provided in ASP.NET?

1118


What is difference between abstract class and an interface?

901


What are the disadvantages of using session?

1011


Do session use cookies in asp net?

945


where can i gather the materials for MCP certification

5202


What is cas?

997


What is the difference between typeof() vs gettype()?

1019