cookies "samesite" => "Strict" // Strict SameSite policy for better protection against CSRF attacks ]); } else { setcookie($key, $value, [ "expires" => time() + (86400 * 90), // Sets cookie to expire in 90 days "path" => "/", "domain" => "$domain", "secure" => true, // Prevent client-side JavaScript access to the users of that material, or requiring that modified versions of the work is covered by