PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-38965

The session does not auto extend when "session.timeout.auto.extend=true" is set

    Details

    • Type: Bug Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: None
    • Environment:
      LIFERAY VERSION: 6.1 GA2
      OPERATING SYSTEM: Windows 7
      APPLICATION SERVER: Tomcat 7
      JAVA VIRTUAL MACHINE: Java 6
      DATABASE: MySQL 5.5
    • Fix Priority:
      3
    • Similar Issues:
      Show 5 results 

      Description

      When the "session.timeout.auto.extend=true" property is set, the session still expires and does not auto extend.

      STEPS TO REPRODUCE
      1) Set the following property in portal-ext.properties:
      session.timeout.auto.extend=true
      2) Edit ROOT.war/WEB-INF/web.xml so that the session expires after 1 minutes
      3) Restart the server
      4) login as test@liferay.com
      5) Go to the home page
      6) Now wait for more than 1 min, keeping the browser window open
      7) Now after 1 mins click refresh and you will be directed to the login screen.

        Activity

        Hide
        Olaf Kock added a comment -

        In order for this to work, you'll have to let Liferay know that sessions are shorter. See portal.properties:

            #
            # Specify the number of minutes before a session expires. This value is
            # always overridden by the value set in web.xml.
            #
            session.timeout=30
        
        Show
        Olaf Kock added a comment - In order for this to work, you'll have to let Liferay know that sessions are shorter. See portal.properties: # # Specify the number of minutes before a session expires. This value is # always overridden by the value set in web.xml. # session.timeout=30

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Days since last comment:
              1 year, 11 weeks, 4 days ago

              Development

                Structure Helper Panel