Possible Duplicate:
Cache v.s Session
when where we have to use Cache
when where we have to use Session
in which Situation we have to use cache and Session?
Possible Duplicate:
Cache v.s Session
when where we have to use Cache
when where we have to use Session
in which Situation we have to use cache and Session?
Use Cache:
Use Session:
Have a look at the ASP.NET State Management overview.
Session state is used for storing user specific data that you wish to have access to during the user's current session.
Cache is used for data you want to avoid fetching from a slower or more expensive data source. Usually the cached data is for many users or the system itself.