How to change the Session timeout value


  • How to modify Liferay's default session-timeout of any logged-in user?


  • Liferay DXP 7.2


  • This value is set on the [Application_Server-HOME]/webapps/ROOT/WEB-INF/web.xml file. You can change it:
  • Manually by adjusting the property below, replacing X for the timeout value in minutes.
  • Creating an Ext plugin to Modify the web.xml
  • There is a portal property that can be added to the but it is always overridden by the value set in web.xml. This property will only take effect if there is no <session-timeout> property on the web.xml file.
     # Specify the number of minutes before a session expires. This value is
    # always overridden by the value set in web.xml.

Additional information

Was this article helpful?
1 out of 1 found this helpful