Skip to main content
Skip table of contents

Current Session in main frame after Script Completion

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.

XML
<SetCurrentSessionToBeSetInMainFrameAfterScriptCompletion/> 

Tag Attributes

AttributesAttribute ValueValue Description
Value

TRUE / FALSE (Defaults to TRUE)

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

Optional

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

current-session-main-frame-after-script-completion

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.