Is there a good solution to add the Cookie SameSite None
configuration to a Drupal7 and PHP7.0 setup?
My only finding was to override the file includes/session.inc
from :
setcookie(session_name(), session_id(), $expire, $params['path'], $params['domain'], $params['secure'], $params['httponly']);
to
header("Set-Cookie: {$cookie_name}={$session_id}; Domain=localhost; Path={$params['path']}; SameSite=None; Secure; HttpOnly; ");
It does not even seem to work in all situations...