Issue
Once the session expires, users remain on the same page on which they were already there until and unless they click on somewhere, then it redirects to the login page.
Environment
- Liferay DXP 7.0
Resolution
If you want the user to directly go to the login page on the session expires, please follow the below steps:
- Go to Control Panel>>Instance Settings.
- There you will find default landing page just give the path of the login page there.
- Add this to your
portal-ext.properties
session.timeout.redirect.on.expire=true
Note: After following these steps you need to restart your server and once the session expires, it will directly take you to the login page.
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In