0

I was going to set cookie samesite property to none.

PHP version is 5.3 and OS is Ubuntu 12.04.

Here is code:

setcookie("key", "value", time()+30*24*60*60, "/; samesite=None", "mydomain.com")

This never worked.

When I changed None to Strict, Lax, or just (null value), they were all worked.

Only None value didn't work.

Any suggestion would be highly appreciated.

lovecoding
  • 791
  • 1
  • 6
  • 26

0 Answers0