Tag: SetCurrentSessionToBeRestoredAfterScriptCompletion

The SetCurrentSessionToBeRestoredAfterScriptCompletion function stores a user's current session in the frame where the action appears. It will be restored after the script ends regardless of errors or abnormal script termination.


<SetCurrentSessionToBeRestoredAfterScriptCompletion/>
XML

Tag Attributes

AttributesAttribute ValueValue DescriptionComment
ValueOptional
TRUE/FALSE (defaults to TRUE)
FALSE: cancels the restoration

N/A

N/A

Stores the session in use in the frame where this action appears. The session shall be restored after the script ends. (The restoration shall happen regardless of errors or abnormal script termination.)

If the last usage of this action was with Value set to FALSE, no session restoration shall happen. 

Example Script


current-session-restored-after-script-completion-script