Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
4.3.2. Session Expired Handling
You can also redefine the
onExpired framework method that is called on the SessionExpiration event.
Example:
This function can take the following parameters:
loc- the URL of the current page (can be updated on demand)
expiredMsg- a default message for display in the event of
SessionExpiration.
Note
Customized
onExpire handlers do not work under MyFaces. MyFaces handles exceptions by internally generating a debug page. To prevent this behavior, use the following: