百思不得其解,IE浏览器不发送cookie,其它浏览器都没问题!
为什么IE不发送cookie,其它浏览器都没问题,试了几台PC,IE7、8、9、10都这样。
麻烦大侠帮忙看看,问题在哪儿?
下面是IE开发者工具的HTTP记录:
这是登录
----------
键 值
请求 POST /api/login HTTP/1.1
Accept */*
Content-Type application/json
Referer http://mytest.f3322.org:5678/mmapi.html
Accept-Language zh-CN
Accept-Encoding gzip, deflate
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Host mytest.f3322.org:5678
Content-Length 29
DNT 1
Connection Keep-Alive
Cache-Control no-cache
键 值
响应 HTTP/1.1 200 OK
Server eHttpd/1.0.1 (mytest@sina.com)
Set-Cookie SessionID=WXX33CC5CB16E; domain=mytest.f3322.org; path=/
Connection keep-alive
Keep-Alive 30
Content-Length 10
Content-type application/json
Expires Fri, 10 Apr 2008 14:00:00 GMT
Pragma no-cache
--------------------------------------------------------------------------------------------------------------
这是取数据
-------------
键 值
请求 GET /api/deviceType HTTP/1.1
Accept */*
Referer http://mytest.f3322.org:5678/mmapi.html
Accept-Language zh-CN
Accept-Encoding gzip, deflate
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Host mytest.f3322.org:5678
DNT 1
Connection Keep-Alive
----现在的问题是IE浏览器没有发送cookie!!!
键 值
响应 HTTP/1.1 200 OK
Server eHttpd/1.0.1 (mytest@sina.com)
Connection keep-alive
Keep-Alive 30
Content-Length 11
Content-type application/json
Expires Fri, 10 Apr 2008 14:00:00 GMT
Pragma no-cache
-----------------------------
如果不用域名,用ip地址,ie又发送cookie,真的很头疼的问题...
麻烦大侠帮忙看看,问题在哪儿?
下面是IE开发者工具的HTTP记录:
这是登录
----------
键 值
请求 POST /api/login HTTP/1.1
Accept */*
Content-Type application/json
Referer http://mytest.f3322.org:5678/mmapi.html
Accept-Language zh-CN
Accept-Encoding gzip, deflate
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Host mytest.f3322.org:5678
Content-Length 29
DNT 1
Connection Keep-Alive
Cache-Control no-cache
键 值
响应 HTTP/1.1 200 OK
Server eHttpd/1.0.1 (mytest@sina.com)
Set-Cookie SessionID=WXX33CC5CB16E; domain=mytest.f3322.org; path=/
Connection keep-alive
Keep-Alive 30
Content-Length 10
Content-type application/json
Expires Fri, 10 Apr 2008 14:00:00 GMT
Pragma no-cache
--------------------------------------------------------------------------------------------------------------
这是取数据
-------------
键 值
请求 GET /api/deviceType HTTP/1.1
Accept */*
Referer http://mytest.f3322.org:5678/mmapi.html
Accept-Language zh-CN
Accept-Encoding gzip, deflate
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Host mytest.f3322.org:5678
DNT 1
Connection Keep-Alive
----现在的问题是IE浏览器没有发送cookie!!!
键 值
响应 HTTP/1.1 200 OK
Server eHttpd/1.0.1 (mytest@sina.com)
Connection keep-alive
Keep-Alive 30
Content-Length 11
Content-type application/json
Expires Fri, 10 Apr 2008 14:00:00 GMT
Pragma no-cache
-----------------------------
如果不用域名,用ip地址,ie又发送cookie,真的很头疼的问题...
...全文
相关推荐
ie浏览器cookie管理 查看删除修改等操作
ie浏览器cookie管理 查看删除修改等操作 ie浏览器cookie管理 查看删除修改等操作
重新设置IE浏览器开启COOKIE功能
重新设置IE浏览器开启COOKIE功能 覆盖自动cookie处理 (Override automatic cookie handling) 第一方cookie:接受 (First-party cookies: Accept) 第三方cookie:接受 (Third-party cookies: Accept) 总是允许会话cookie (Always allow session cookies)
获取IE浏览器Cookie信息的方法
下面小编就为大家带来一篇获取IE浏览器Cookie信息的方法。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧
IE8 浏览器Cookie的处理
最近在修改重写自己的简历程序,其中要使用皮肤切换和lightbox效果,在开发的工作中IE8,给我带来点麻烦。
读取IE保存的Cookie
在VB6中使用 InternetGetCookie函数来读取IE保存的Cookie



