Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development

> ## registerCacheItem

> Registers the referenced temp-table in the data cache with the passed key as the identifier. Use the key later to reference the item.

> Note: The assumption is that the table is scoped to the session, as is the case after a call to the server with the table as an output parameter.

> Syntax
>     registerCacheItem (Key, Handle, Time, NumRecords, Context)

> Parameters:

> - Key — Identifier.

> - Handle — The temp-table handle to add to the cache.

> - TimeSpan — Specifies the number of seconds the data in the cache should be considered valid. The framework will pass this from the `CacheDuration` property on the DataObject.

> - NumRecords — (Optional) Specifies the number of records in the data.

> - Context — (Optional) Information needed for the server to refresh the cache.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095