Session Logout Behaviour
The Session Logout behaviour of the Application Center (when the Log Off button is clicked) can be set by adding the key 'LogOffBehavior' to the ApplicationCenter section of the appsettings.json file in the <AMTTools>\ApplicationCenterCore folder. If the ApplicationCenter section itself is not present yet, it should also be created beneath the Amt section. See Application Center appsettings for all available settings.
The key can have two values:
- "allSessions" - When clicking the Log Off button of the Application Center all existing Sessions in the web browser will be closed including an existing session of the Control Center. This is also the default behaviour.
- "singleSession" - When clicking the Log Off button of the Application Center only the current session will be closed. Additional sessions in other tabs of the same browser will remain open.
{
"Amt": {
"ApplicationCenter": {
"LogOffBehavior": "singleSession"
},
...
"Amt": {
"ApplicationCenter": {
"LogOffBehavior": "singleSession"
},
...
The allSessions behaviour only applies to multiple session in the same make of browser. I.e. when having both sessions to the same Application Center in Edge and Chrome and then Logging Off in Edge, all the sessions in Edge will be closed but any sessions in Chrome will remain open. This is the default behaviour. |
The general behaviour on Logout can also be influenced by adding a special file 'closedown.html'. See Customizing the Logout page and Error pages. |