cookie无法读取
来源:7-1 根据登录权限决定页面展示(1)
yinikko
2020-03-21 01:45:07
A cookie associated with a cross-site resource at http://www.dell-lee.com/ was set without the `SameSite` attribute. It has been blocked, as Chrome now only delivers 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.
怎么解决?
3回答
好帮手慕言
2020-03-22
同学你好,测试源码(测试的是下方红框中的源码),登录之后刷新并不会回到登录前的状态,
同学粘贴的这段警告,并不会影响效果,可以不用理会哦。祝学习愉快~
好帮手慕星星
2020-03-21
同学你好,这边测试了源码,登录之后刷新并不会回到登录前的状态,建议测试下哦。自己写的和源码对比一下,是不是有不一致的地方。
祝学习愉快!
好帮手慕星星
2020-03-21
同学你好,这只是Chrome浏览器的警告而已,并不影响项目运行,不用担心。
祝学习愉快!
相似问题