Php 如何修复SameSite属性警告?
我解决这个问题重要吗?我如何解决这个问题?我在我的网站顶部添加了这个,但没有解决任何问题Php 如何修复SameSite属性警告?,php,cookies,attributes,samesite,Php,Cookies,Attributes,Samesite,我解决这个问题重要吗?我如何解决这个问题?我在我的网站顶部添加了这个,但没有解决任何问题 一般来说,这些警告目前只是提供信息,不会影响您的网站行为。不过,由于在2020年2月左右达到稳定,这些将成为Chrome 80的默认值 在本例中,cookie来自https://cloudflare.com。因为这不是你的领域,你在网站代码中的任何内容都不会影响cookie。这里有两件事需要检查: 如果CloudFlare cookie是您在那里的帐户中明确设置的内容,例如,可能通过worker设置cook
一般来说,这些警告目前只是提供信息,不会影响您的网站行为。不过,由于在2020年2月左右达到稳定,这些将成为Chrome 80的默认值 在本例中,cookie来自
https://cloudflare.com
。因为这不是你的领域,你在网站代码中的任何内容都不会影响cookie。这里有两件事需要检查:
SameSite
属性A cookie associated with a cross-site resource at https://cloudflare.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.