To busy to blog
Yes, I am still alive, just been busy. Between writing code and playing on the weekends, I have not had the time to blog as much as I would like.
I did run into something interesting though. The documentation for HttpContext.Cache indicates that it returns a Cache object for the current request. So, it was to my understanding that the cache object would be unique to each request. Nope, that isn't the case. So if you did something like:
string someString = “Test“;
System.Web.HttpContext.Current.Cache.Insert(”somekey”, someString);
Then from a seperate machine read the cache like:
string s = (string) System.Web.Current.Cache[”somekey”];
The string value s would in fact be the value “Test“.
Could the MS documentation be wrong? Perhaps I am missing something. I have found several sites that indicate that the HttpContext.Cache is per user and HttpRuntime.Cache is global but this doesn't seem to be accurate.