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

Event for disabling cookie creation

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.9-RC1
    • 3.2.8
    • Events
    • None

      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;
      		}
      

       

            Senky Senky [X] (Inactive)
            KillBill. KillBill.
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: