Accessing a cache with a thread? c#

Posted by maxp on Stack Overflow See other posts from Stack Overflow or by maxp
Published on 2010-03-13T00:12:54Z Indexed on 2010/03/13 0:17 UTC
Read the original article Hit count: 595

Filed under:
|

Normally i have a static class that reads and writes to HttpContext.Current.Cache

However since adding threading to my project, the threads all get null reference exceptions when trying to retrieve this object.

Is there any other way i can access it, workarounds or another cache i can use?

© Stack Overflow or respective owner

Related posts about c#

Related posts about caching