Remove "Danger" alert for users when session times out
Issue
- In Liferay portal, when the session is inactive, the users are seeing "Danger: Due to inactivity your session timed out."
Resolution
-
It is possible to disable the notification, by using the following property:
"session.timeout.warning=0" in the portal-ext.properties
-
To use the property:
- Specify the number of minutes before a warning is sent to the user informing the user of the session expiration. Specify 0 to disable any warnings.
订阅者专属内容
Liferay企业级订阅提供超过1500篇文章的访问权限,包括最佳范例,排查和解决问题,和其他有价值的解决方案。登录以获得全部权限。
登录