Liferay hard session timeout
Written By
Pooja Bhambani
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- Is there any configuration available in Liferay OOTB (out-of-the-box) for forcing logout users after 4 hours?
Environment
- Liferay DXP 7.2
- Liferay DXP 7.3
- Liferay DXP 7.4
- Quarterly Release
Resolution
-
A session is considered active as long as a user is interacting with the server (this could be clicking on a link, navigating to a different page, or submitting a form). A timeout is based on inactivity between the user and the server. The property
session.timeout defines the timeout duration for a user's session before logging them out and this value is set in minutes.
- There is no such feature available out-of-the-box to logout the user if their session is still active; however, user can extend the session timeout value, but it'll only work if the user is inactive
Did this article resolve your issue ?