Does anyone out there know of a limitation on the ASP.NET cache object (In MB maybe ??) I am adding items to the cache and it may turn out to be quite a bit of info and wanted to know if I might run into some trouble down the road. Any help is greatly appreciated.
Thank you
Bill Riegert
brieg1000@msn.com
Comments
:
: Thank you
:
: Bill Riegert
: brieg1000@msn.com
:
Your server memory is ur limit. But the cache automatically clears itself when memory becomes an issue also cache can manually be removed. That is why u have to adopt certain programming techiniques. You have to check to see if the cache object holds a valid reference at all times
and recreate it when needed ...
' Make sure Cache exisit
If Cache("SomeValue") Is Nothing Then
' If not recreate it
Cache("SomeValue") = SomeObject
End If
' U can safely reference the Cached object here
Hopefully this helps