Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的代码会引发运行时异常 - 在此异常之后“找不到文件”,cookie 是使用设置的httpContext.Response.AppendCookie('testCookie','true')。现在在使用返回空字符串读取 java 脚本中的 cookie 时。document.cookie('testCookie')有人知道这个问题的原因吗?
httpContext.Response.AppendCookie('testCookie','true')
document.cookie('testCookie')