Hi All,
I have a asp.net code behind page (2.0 vb.net) which adds to the cache in the the format
System.Web.Caching.Cache.Add("mycache",.......
I want to be able to access the cache from a separate class file like so
Dim c = System.Web.Caching.Cache("mycache")
but get the error "Cache is a type in caching and cannot be used as an expression".
Can someone please explain this and if possible provide an alternative approach?
Many thanks!
Rick
I have a asp.net code behind page (2.0 vb.net) which adds to the cache in the the format
System.Web.Caching.Cache.Add("mycache",.......
I want to be able to access the cache from a separate class file like so
Dim c = System.Web.Caching.Cache("mycache")
but get the error "Cache is a type in caching and cannot be used as an expression".
Can someone please explain this and if possible provide an alternative approach?
Many thanks!
Rick