APGen Documentation Previous Topic: ASPCache.KeyOf() Next Topic: ASPCache.Hits() Parent Topic: ASPCache Object    ASPCache Object
ASPCache.HandleOf()
See Also:

Returns the handle corresponding to the string key

Syntax

VBScript:

h = Cache.HandleOf( sKey )

JScript:

h = Cache.HandleOf( sKey );

Object

Cache An ASPCache object.

Parameters

sKey A string key for an item in the cache.

Return Value

h The handle for the item.  If sKey does not exist, InvalidHandle (-1) is returned.

Notes

HandleOf is the inverse of KeyOf.

For more information on handles, see the Handles topic.