Why do I get the error message ‘Exception Details: System.Web.HttpException: Cache is not available ‘

Platform: ASP.NET| Category: Output Caching

Try using ‘HttpContext.Current.Cache’ instead of just ‘Cache’ in your code. The compiler probably wasn’t able to resolve the Cache type.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.