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

Event for disabling cookie creation

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.2.8
    • 3.2.9-RC1
    • Events
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: