Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13817

Add multiple events in \phpbb\session.php

    Details

    • Type: Improvement
    • Status: Unverified Fix (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.1.6-RC1
    • Component/s: Events
    • Labels:
      None
    • Environment:
      PHP Version 5.6.8

      Description

      Add core.update_session event to update_session function in \phpbb\session class.
      Add core.session_create event - return session information that should be inserted in to the db to extension
      Add core.session_kill event - returns the session that should be killed to extension.
      Add core.session_gc event - Triger on garbige sessiona garbige collection.

      Event should return $session_data and $session_id, but for security reasons should not allow changing of this information.

      Reason - I have security extension I need to migrate from 3.0.x that kept track of user actions and gave approximate information for multi accounting.

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              Lucifer4o Lucifer4o [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: