I've been on my site and I allow users to upload URLs to images they can use for their display image however I've been getting a lot of SameSite request popups in my developer log and I'm trying to fix this issue. I don't want any of my cookies being sent to any third parties, only my subdomains. How do I go about setting this through session start?
session_name('example_cookie');
session_start([
'cookie_lifetime' => 0,
'cookie_path' => '/',
'cookie_domain' => '.example.com',
'cookie_secure' => false,
'cookie_httponly' => false,
'cookie_samesite' => 'Strict'
]);
Keeps throwing an error constantly saying. "PHP Warning: session_start(): Setting option 'cookie_samesite' failed in /home/path/to/php/connection.php on line 6" What am I doing wrong?