action_="hashput"

<do action_="hashput"> saves a key/value association to the user-specific private store. (Available as of version 10.23)

Syntax

<dynamic var="">
    <do action_="hashput" 
     key_="[KEY]" data_="[DATA]" 
     persist_="0|1" value_="@var"/>
</dynamic>

Attributes for action_="hashput"

key_
Specifies the name of the key to save in the user-specific private store.
Note: Because the namespace, while private to the user, may be shared with other 1010 features, care should be taken in choosing the keys, and applications should not overwrite keys set elsewhere.
data_
Specifies the data associated with the given key to save in the user-specific private store.

Any type of data may be stored, including strings, tables, lists, packages, XML, etc.

If the key had a previous value associated with it, that value is overwritten.

persist_
Determines whether the key/value association is persistent. Accepts a 1 or 0.

If persist_="1", the key/value association will survive the user's session and be available at next login.

If persist_="0", the key/value association is for the duration of the session only. In addition, if the key was previously persistently stored, it will be removed from the persistent store.

value_
The previous value is stored in the dynamic variable associated with the value_ attribute.

The variable must be declared in the opening <dynamic> tag of the QuickApp (e.g., <dynamic var_name="">).