LassoScript Utility
Basics Browse Detail

[Cache_Fetch]

Tag Link [Cache_Fetch] Category Utility
Type Substitution Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type Any Security Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

Outputs the contents of a Lasso cache. Requires a -Name parameter, which specifies the name of the cache. An optional -Session parameter specifies the session that contains the cache, if applicable.

Syntax

[Cache_Fetch: -Name='MyCache']

Parameters

Required Parameters
-Name Specifies the name of the cache to be returned.
-Session Specifies the session that contains the cache to be returned.

Examples

To return the contents of a cache:

Use the [Cache_Fetch] tag, where the name of the cache to return is specified in the -Name parameter. The example below returns the value of a cached [Date] tag in a cache named Cache_Name.

[Cache_Fetch: -Name='Cache_Name']