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

Event for disabling cookie creation

    Details

    • Type: Improvement
    • Status: Unverified Fix (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.8
    • Fix Version/s: 3.2.9-RC1
    • Component/s: Events
    • Labels:
      None

      Description

      The phpbb/session.php -> function set_cookie

       

      I would like to request a new event to prevent the creation of a cookie due to GDPR.

       

      Example:

      		global $phpbb_dispatcher;
       
      		$disable_cookie = false;
      		$vars = array('disable_cookie');
      		extract($phpbb_dispatcher->trigger_event('core.set_cookie', compact($vars)));
       
      		if ($disable_cookie)
      		{
      			return;
      		}
      

       

        Attachments

          Activity

            People

            • Assignee:
              Senky Senky
              Reporter:
              KillBill. KillBill.
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: