Issue
Users remain logged into the application even after several hours of inactivity. The session has been inactive for more time than the SessionTimeout and ClusterManagerActionInterval combined, but it is not removed.
Environment
Applications hosted in any deployment type
Cause
The session timeout functionality is not working because the affected users were (incorrectly) configured with the WebServiceUser attribute set to true.
Solution/Workaround
The runtime's session cleanup mechanism specifically excludes users with WebServiceUser=true from the session timeout process. Specifically:
The runtime cleans up sessions users based on:
- The LastActive (on the session) is older than
now() - session timeout - The user is not a WebServiceUser
- The user has no running actions
To resolve this issue, check and correct the WebServiceUser flag:
- Identify all users with
WebServiceUser = truethat should be regular users - Update these users by setting
WebServiceUser = false
Internal information related
- 249836
- C3T260XGA/p1681866770989489
Additional information
- Mendix documentation:
0 Comments