I know there is a function available to check whether the user’s session is still valid. However, I would like to understand what conditions or configuration need to be applied so that a message like “Your session has expired, please log in again” can be shown automatically—no matter which page the user is currently on in the application..
6 Likes
Currently, there is no default provision available to configure a message specifically for session expiration or validation failures.
While you can use the MessageOnError
configuration if the server detects an expired session during an API call, the challenge is that this mechanism doesn’t always provide detailed context about the specific type of error. As a result, it’s not reliable to display a consistent session-related message in all such cases.
I’ll take this as a new requirement and explore how we can incorporate a platform-level capability that makes it easier to configure and display session messages to the user in case of session validation fail.
1 Like