Using ASP.NET I am putting data into cache which is user-specific. The Site uses Windows-Authentication:
HttpContext.Current.Cache.Insert(....)
Is this cache available to the user only, or will any user who requests the cache with the same key get the same data?
You can make the user name part of the key, e.g. "Joe.CacheKey1". It will be up to you to parse the key.
Some reasons why you might use Cache instead of Session:
A bad reason to use Cache instead of Session is because you weren't aware that Session exists.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With