We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
先说结论:不可能。
这个和跨域没有关系,这只是 cookie 本身的限制。域名 A 的代码只能设置 A 的 cookie,不能设置域名 B 的 cookie,B 也没法设置 A 的 cookie,不然就出大事了,伪造其它域名的 cookie 就太容易了。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
具体内容
先说结论:不可能。
这个和跨域没有关系,这只是 cookie 本身的限制。域名 A 的代码只能设置 A 的 cookie,不能设置域名 B 的 cookie,B 也没法设置 A 的 cookie,不然就出大事了,伪造其它域名的 cookie 就太容易了。
参考资料
The text was updated successfully, but these errors were encountered: