Chrome 控制台 SameSite Cookie 属性警告 [英] Chrome Console SameSite Cookie Attribute Warning
问题描述
还有其他人收到此 Chrome 控制台警告吗?
Is anybody else getting this Chrome console warning?
与跨站点资源关联的 cookie 已设置没有 SameSite
属性.Chrome 的未来版本只会如果设置了跨站点请求,则传递 cookieSameSite=None
和 Secure
.您可以在开发人员中查看 cookie应用程序>存储>Cookies下的工具,查看更多详细信息和.
A cookie associated with a cross-site resource at was set without the
SameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set withSameSite=None
andSecure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at and .
在 Chrome Flags chrome://flags/中,我尝试禁用两者:
In Chrome Flags chrome://flags/ I've tried disabling both:
SameSite 默认 cookie
SameSite by default cookies
没有 SameSite 的 Cookie 必须是安全的
Cookies without SameSite must be secure
警告不会消失.
推荐答案
您可以通过 chrome://flags Cookie Deprecation 消息禁用来禁用它们.
You can disable them through chrome://flags Cookie Deprecation messages disabled.
这篇关于Chrome 控制台 SameSite Cookie 属性警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!