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. |
Make the field context-field persistent:
set-persistent 'context-field' 'X'
Make the field context-field transient:
set-persistent 'context-field' ' '