Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-68543

Session isn't auto extended when session.timeout.auto.extend is set to true

    Details

      Description

      Solution Notes
      The following portal property has been added:

          #
          # When the property "session.timeout.auto.extend" is set to true, set the
          # number of seconds between when the extend process is launched and the
          # actual expiration of the session.
          #
          session.timeout.auto.extend.offset=0
      

      Steps to reproduce it:

      1. Set the following properties in your portal-ext.properties file:
        session.timeout=2
        session.timeout.auto.extend=true
        session.timeout.warning=0
        
      2. Set the session timeout in the web.xml file:
        	<session-config>
        		<session-timeout>2</session-timeout>
        	</session-config>
        
      3. Start the server
      4. Log in
      5. Wait 2 minutes and click on any link

      Results: The session is expired
      Expected results: The session is not expired because it was extended automatically.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 42 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP11
                  7.0.0 DXP SP2
                  7.0.3 CE GA4
                  7.1.0 CE GA1
                  7.1.10 DXP GA1