Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to change auto logout in liferay

    • 0
    • 2
    • 1
    • 2
    • 0
    • 0
    • 0
    • 0
    • 2.08k
    Comment on it

    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)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: