Cookie “ceid” does not have a proper “SameSite” attribute value

Open to all! Ask other shopowners for help.
Post Reply
ArtcoInc
Contributor
Posts: 119
Joined: Fri Oct 25, 2019 4:19 pm
Phoenix Version: v1.0.3.0
Has thanked: 86 times
Been thanked: 17 times

Cookie “ceid” does not have a proper “SameSite” attribute value

Post by ArtcoInc »

(On an in-house WAMP server, Phoenix 1.0.3.0, PHP 7.4.33)

When the shop first loads, in the console, I see a warning:
Cookie “ceid” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/ ... e/SameSite
When a customer logs in, the warning goes away. If they log out, still is no warning.

Is this something to be concerned about?

TIA

Malcolm


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Cookie “ceid” does not have a proper “SameSite” attribute value

Post by burt »

Lax is OK, and is in fact what modern versions of Phoenix use.
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply