目录
问题
chrome浏览器下面报以下警告:
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 with SameSite=None
and Secure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at and .
解决
参考以下文章:
- https://www.chromestatus.com/feature/5633521622188032
- https://www.chromestatus.com/feature/5088147346030592
- Cookie 的 SameSite 属性