我的 cookie 在 asp.net 页面中消失
我正在解决刷新页面后 cookie 消失的问题。我对这个页面完全陌生,不知道客户端/服务器端的任何代码,所以我决定通过 fiddler 跟踪 http。
这是一个会话 cookie,没有指定过期日期,域路径也没有。我在刷新过程中检查了所有http请求,在响应头中没有发现任何与“Set-Cookie”相关的内容,但cookie就消失了。
此问题发生在 IE、FF、Chrome 中。我不认为这是与浏览器相关的问题。
由于我不拥有服务器端代码,因此我无法通过 cookie 名称搜索代码。知道可能是什么问题吗?
I'm working on an issue that a cookie disappears after refreshing the page. I'm totally new to this page and doesn't know any code in either client/server side, so I decide to trace the http by fiddler.
This is a session cookie which has no expire date assigned, neither does the domain path. I checked all http request during the refreshing, found nothing related to "Set-Cookie" in the response header, but the cookie just disappeared.
This issue happened in IE, FF, Chrome. I don't think it's a browser related issue.
As I don't own the server side code, I can't search the code by the cookie name. Any idea what can possible be the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试检查您的页面源代码和 JS 文件,cookie 可能会被 Javascript 删除。
Try checking your page source and JS file, cookie could potentially be deleted by Javascript.