xmlhttpRequest's finalurl阻止cookie创建吗?

does xmlhttpRequest's finalurl prevent cookie creation

本文关键字:cookie 创建 阻止 finalurl xmlhttpRequest      更新时间:2023-09-26

在javascript中,我使用带有finalurl的xmlhttpRequest通过多个蹩脚的重定向跟踪掩码url,并返回真实的url(并直接打开它)

它阻止中间服务器创建他们的cookie吗?有意义吗?

我在发布之前读了很多东西,但这离我的理解还很远

xmlhttprequest and set-cookie &饼干

仅当设置了xhr.withCredentials = true;如果我说错了,请纠正我。

编辑:如果cookie是由浏览器设置的,这无关紧要。您的浏览器中只有更多的cookie,但它们不应该做任何事情,因为cookie只是浏览器存储在其cookie存储中的数据。一个站点只能访问自己的cookie