Salesforce

Reinitialize Web Client Sessions on Abnormal Termination (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Reinitialize Web Client Sessions on Abnormal Terminations

This setting handles re-initialization of the session if Magic xpa terminates abnormally while serving a request.

Yes: The session is re-initialized directly to the entire URL.

No: There is no alert message issued after crash and the session is terminated. The context is not re-initialized.

Alert: Magic xpa issues an alert message to receive user's input regarding re-initializing the session.

If the user selects No on the alert message then the session is terminated.

If the user selects Yes on the alert message then:

  1. Case 1 - If there is Routing in the program then:

the entire URL is re-navigated i.e. re-routing is performed for all the programs which are part of the current URL. If there was no route and crash occurred then URL is navigated to localhost:4200 and Start program executes.

Case 2 - If there is no Routing in the program then:

the URL is navigated to localhost:4200.

2. Main program is re-initiated at Client-side and Server-side.

3. If the variables or global parameters defined in Main program are updated before the crash, then the updated

values of the same are available in the re-navigated URL.

Default: Yes

Change effective: Next session

Magic.ini and Command Line name: WebClientReInitSession

In the re-initialized session, Task Prefix of Main Program is executed after Main Program variables and Global parameters are restored.

Since version: 4.7

Reference
Attachment 
Attachment