|
ASPCache Object |
|
See Also: |
Returns True if the cache contains an item with this key or handle.
VBScript:
JScript:
| Cache | An ASPCache object. |
| key | A string key or item handle. |
| bExists | True if the item exists in the cache. False if it doesn't exist. |
This example checks whether an item exists before modifying its value.
Dim key, vNewValue
' Assume these
variables have been set
' Check if the item exists
If
(Cache.Exists(key)) Then
' Update
the item's value
Cache(key) =
vNewValue
End
If