I've been playing around a little with .NET 2. A tool i'm working on produces some data in one aspx page, stores it in the cache. Subsequently, a different page causes the data to be retrieved from the cache, updated and reinserted with the same cache name (overwriting over the ...
What am I doing wrong here? I am trying to Cache data for 5 minutes (absolute time). To test caching, I am writing to a log file every time the application determines that the Cache item is null and needs to pull the data from the database again. I run my asp.net form, then I hit ...
in the codebehind of an .aspx, I am doing the following (in Page_Load): int cacheDuration = 10; TimeSpan cacheSpan = new TimeSpan(0, 0, cacheDuration);