httpRuntime.cache versus httpContext.Current.Cache
Okay, after further research, both httpRuntime.cache and httpContext.Current.Cache point to the same cache that is accessible by anyone in the application which makes sense. I was mislead by someone else's post in another forum. The only other question I have is how AJAX effects httpContext.Current.Cache. If I have an update panel with a gridview and detail view, will there be any problems. Everyone says to use httpRuntime.cache to avoid any null reference problems. I think the beer house website checks for nulls, but I still have no idea what I am in store for if I ajaxify the beer house application. Well, I guess I should stop rambling since It appears that this forum is dead anyways and I am talking to myself now. lol.
|