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

Liferay.Session.setCookie() does not work after warning banner is displayed and "Extend" button is clicked

    Details

    • Branch Version/s:
      6.0.x
    • Backported to Branch:
      Committed

      Description

      During user interaction, calling the Liferay.Session.setCookie() function properly prevents the session expiry warning banner from appearing as long as there activity. However, if you cease activity, allow the banner to appear, and click "Extend", further calls to setCookie() no longer have the desired effect. It appears that the extend() function evaluates its own setTimeout() call which does not use the cookie value to do any calculations regarding when to present the banner.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                5 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  8 years, 31 weeks ago

                  Packages

                  Version Package
                  6.0.X EE
                  --Sprint 12/11
                  6.1.0 CE RC1