sc_apl_default("application", "type");

The sc_apl_default() macro allows you to define, in the initial application, what should happen when the user session is lost.

Parameters

  • apl: Specifies the application to which the user will be redirected after the session is lost.
  • type: Defines the redirect type. Accepted values:
    • R: Redirects immediately to the specified application.
    • M: Displays a message before redirecting.

Example

In a login application set as the initial application, we can define that the user should be redirected to the same login screen after session loss:

sc_apl_default("app_login", "R");