Hello Guys,
Liferay provide default auto log-out functionality when you are inactive 30 minutes on website, it will log-out from website. You can change this functionality according requirement.
Auto log-out functionality depends on session timeout of tomcat sever. This parameter defined in the web.xml of tomcat server.
Follow below steps to implement auto log-out functionality.
Step :1 Change session timeout parameter value in web.xml
Web.xml located in WEB-INF of liferay tomcat i.e
liferay-portal-6.2-ce-ga2/tomcat-7.0.42/webapps/ROOT/WEB-INF/web.xml
<session-config>
<session-timeout>30</session-timeout>
</session-config>
Step : 2 Put below property in portal-ext.properties
session.timeout=30 //Change time according requirement in minutes
session.timeout.warning=1
Thank you
0 Comment(s)