Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-13381

possibility to control what happens on logout - logout handler

    Details

      Description

      there has been a request for a feature to allow custom handling of the logout function, in order to perform certain actions related to custom functionality, like cleaning up session variables used in custom modules.

      here are 2 rough suggestions for implementation:

      1. We could allow custom logout handlers to hook in to the systems' logout function.
      multiple custom modules may require their own logout handler to clear module-specific data/variables. we would then allow multiple logout handlers to be hooked in, and executed sequentially.

      2. We could put all custom module session variables in to a session array that the built-on logout function would unset() when executed.
      unset( ($_SESSION['privateVars']['myVar'] );
      other session variables would be left untouched.

        Issue Links

          Activity

          Jostein- Knudsen created issue -
          Gunnstein Lye made changes -
          Field Original Value New Value
          Fix Version/s Future [ 11071 ]
          André Rømcke made changes -
          Workflow eZ Community Workflow [ 19577 ] eZ Engineering Scrumban Workflow [ 35114 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 35114 ] EZ* Development Workflow [ 68382 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 68382 ] EZEE Development Workflow [ 106560 ]

            People

            • Assignee:
              unknown
              Reporter:
              Jostein- Knudsen
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: