problem about cache-dependency-Collection of common programming errors
Radek Stromský
asp.net session caching httpruntime.cache cache-dependency
I have data common for all users stored in HttpRuntime.Cache.Then I have some user related data stored in Session. HttpRuntime.Cache has CacheDependency mechanism, which can be used to define relationships between the items in cache. What would you use to handle the dependency between Session and Runtime Cache?Additional to CacheDependencies, there is also CacheItemRemovedCallback. I could remove specific values from each session during this callback, if it’s even possible.
Web site is in building