Fix damned cookies behaviour in modern chrome

This commit is contained in:
Fedor A. Fetisov 2021-08-24 22:39:35 +03:00
parent 8aba48a1d2
commit cd22f3e9d8

View File

@ -55,6 +55,7 @@ $tmp_request = \Symfony\Component\HttpFoundation\Request::createFromGlobals();
@ini_set('session.cookie_httponly', true); @ini_set('session.cookie_httponly', true);
if ($tmp_request->isSecure()) { if ($tmp_request->isSecure()) {
@ini_set('session.cookie_secure', true); @ini_set('session.cookie_secure', true);
@ini_set('session.cookie_samesite', 'None');
} }
@ini_set('session.cookie_path', $tmp_request->getBasePath() . "/"); @ini_set('session.cookie_path', $tmp_request->getBasePath() . "/");
@ini_set('session.name', 'MibewSessionID'); @ini_set('session.name', 'MibewSessionID');