且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否有可能获得在JavaScript的HTTP响应报头中的Set-Cookie值?

更新时间:2023-02-23 18:10:19

如果该文件是从同一个域和路径,使用的document.cookie接口 如果cookie属性设置专用HTTP,它是人迹罕至

If the document is from the same domain and path, use the document.cookie interface If the cookie has the http-only attribute set, it's inaccessible