APGen Documentation Previous Topic: ASPCache.SetExpiration() Next Topic: ASPCache.TimeSinceLastUse() Parent Topic: ASPCache Object    ASPCache Object
ASPCache.TimeInCache()
See Also:

Returns the amount of time (in milliseconds) that has elapsed since an item was added to the cache.

Syntax

VBScript:

timeInCache = Cache.TimeInCache( key )

JScript:

timeInCache = Cache.TimeInCache( key );

Object

Cache An ASPCache object.

Parameters

key A string key or item handle .

Return Value

timeInCache The amount of time (in milliseconds) that the item has lived in the cache.  This is an integer value.