I know there is many solutions given regarding the same question but I tried all of them and none of them working at all. I am tried following ways but none of them worked. My php version is 7.1 and Codeigniter framework I am using. By setting header in index.php header(‘Set-Cookie: HttpOnly; SameSite=None;Secure’); By setting in .htaccess Header edit Set-Cookie
Tag: samesite
How can I resolve a cross-site Google Analytics cookie `SameSite=None` warning in Chrome on Apache 2.4 and PHP 7.1?
My client’s website is getting these SameSite cookie warnings in Chrome. I’ve searched all over and I can’t get the warnings to go away. The cookies are due to Google Ad Conversion Tracking on a Wordpress Site. The site is on a Apache/2.4.7 (Ubuntu) hosted by DreamHost running PHP 7.1 for compatibility reasons. To my .htaccess file, I’ve tried adding: