Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13817

Add multiple events in \phpbb\session.php

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.6-RC1
    • 3.1.4
    • Events
    • None
    • PHP Version 5.6.8

      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.

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

              Created:
              Updated:
              Resolved: