gpt4 book ai didi

php - 当前的浏览器是否接受来自 ajax 响应的 cookie?

转载 作者:可可西里 更新时间:2023-11-01 13:55:41 25 4
gpt4 key购买 nike

如果我返回一个带有由 ajax 请求触发的响应的 cookie,浏览器会保存该 cookie 吗?

最佳答案

是的,来自:http://www.w3.org/TR/XMLHttpRequest/

If the user agent supports HTTP State Management it should persist, discard and send cookies (as received in the Set-Cookie response header, and sent in the Cookie header) as applicable. [COOKIES]

关于php - 当前的浏览器是否接受来自 ajax 响应的 cookie?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9984868/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com