Set

Set stores a value in the cache under the specified key. If an entry with that key already exists, it is overwritten.


Properties

Key

The key under which to store the value.

Accepts string literals, expressions, or references to string values.

Value

The value to store. Must match the Value type set on the Cache service.

Accepts static values, expressions, or object references.

Note

The entry's expiry is governed by the Expiry property on the Cache service. If Expiry is 0, the entry persists until the service is stopped or removed via Remove. Restarting Linx Server, the Local Cache service, or the machine it runs on will also clear all cached entries.

Last updated