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
  • 1,121
  • 2
  • 12
  • 33

0 Answers0