Cache question
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Is there a way to test for a cache object? in one part of my code i have If (IsNothing(cache.Item("UserTypes"))) Or (IsNothing(cache.Item("States")) Or (IsNothing(cache.Item("Countries")))) Then ' GenericProcedure = "Admin_SelectProfessionalInformation_ForCache" Else ' GenericProcedure = "Admin_SelectProfessionalInformation" End If ================================================== But i keep getting an error because there is not a cache object by the name (key) of "UserTypes" I would like to test to see if this key is in the cache and if NOT then user the correct StoredProcedure... and if IT IS in the cache us the correct StoredProcedure... thanks alot ahead of time! erik