Does mouse activity on a portal screen count as session logout activity or not?
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
- Need to confirm whether mouse activity on a portal screen will count as session logout activity or not? For example, if there is merely mouse activity (and not particular clicks or screen loads or reloads), it is unclear whether the user will be logged out or not.
Environment
- Liferay DXP [all versions]
Resolution
- Concerns are frequently raised about mouse activity, which consists only of moving the mouse pointer across the screen without clicking or refreshing the page. If so, will it count towards the user session timeout?
- Firstly, let's be clear that the application server maintains the sessions, not the Liferay portal, so if the session is lost, it implies that no request has reached the application server within the given time, which in this case is 30 minutes (let's say in DXP 7.4)
- Now, if the concern is still the same that the mouse activity should be considered, which is not achievable under the existing DXP implementation because we haven't implemented such calls in the background that should take consideration of mouse activity, also, this doesn't seem a recommended approach if we consider the user's security.
Did this article resolve your issue ?