Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-5150

Logout on windows close never clean user session

    • Critical
    • IMPORTANT: session id is cleaned now when user is logged out when windows is closed and new one will be generate on next authentication. Before the old session_id was reused on each authentication.
    • Solves problem where user session was not cleaned up when closing the browser.

      Problem

      When logout on windows close is enabled and user closes or reloads the browser we send request to backend to log-out the user. Since the cookie was unset right after this call, the cookie never reached the backend and basically this left the session still valid in the backend.

      Solution

      Send the cookie as separat parameter and validate and process it on the backend. This should lead to logged out user.

            aleksandar Aleksandar Mitrev
            aleksandar Aleksandar Mitrev
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: