谷歌浏览器上面提示Indicate whether to send a cookie

来源:3-1 获取中心点

steven慕哥哥

2021-04-06 16:56:10

  1. Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute

    1. Because a cookie’s SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which prevents the cookie from being sent in a cross-site request. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery.

      Resolve this issue by updating the attributes of the cookie:

  • Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. This enables third-party use.

  • Specify SameSite=Strict or SameSite=Lax if the cookie should not be sent in cross-site requests.

AFFECTED RESOURCES

  1. 6 cookies

  2. 4 requests

http://img.mukewang.com/climg/606c220009dd010b09121438.jpg

问题描述:

想知道这个是什么问题

写回答

1回答

好帮手慕星星

2021-04-06

同学你好,是跨域的问题,在服务器下打开页面就不会有这个提示了。不过目前直接打开页面并不会报错,可以忽略提示。

祝学习愉快!

0

0 学习 · 6815 问题

查看课程