Tag: SetCurrentSessionToBeSetInMainFrameAfterScriptCompletion

SetCurrentSessionsToBeSetInMainFrameAfterScriptCompletion 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.


Tag Attributes

AttributesAttribute ValueValue DescriptionComment


TRUE/FALSE (Defaults to TRUE)

FALSE: Cancels the restoration (Not handled yet - just do nothing)


If the last usage of this action was with Value set to FALSE, no session restoration shall happen. (Not handled yet - just do nothing)

Detailed Description

For the script to run from a module, main frame session is automatically restored after the script ends. Calling SetCurrentSessionToBeSetInMainFrameAfterScriptCompletion will override the default behavior.

Examples Script