Show TOC

set-persistent MacroLocate this document in the navigation structure

Use

You use the set-persistent macro to make context fields persistent.

This is useful for making data persistent beyond one request/response cycle.

        
set-persistent argument1 (in, char) argument2 (in, num)
         

Parameter

Description

argument1

Context field name you want to make persistent or transient.

argument2

Makes the context field in argument1 persistent or transient.

X

Makes a transient context field persistent.

<blank>

Makes a persistent context field transient.

Example

Make the field context-field persistent:

set-persistent 'context-field' 'X'

Make the field context-field transient:

set-persistent 'context-field' ' '