补充一下,应该不是Session丢失的问题,而是浏览器每一次发送的请求中根本就没有SessionID。
而服务器每次返回的头信息中都有 SessionID。
感觉浏览器接收到SessionID后根本就没存下来。
服务器监测Session发现Session其实还在。
服务器返回的头信息
HTTP/1.1 200 OK
Date: Tue, 18 Sep 2012 23:50:02 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 4.0.30319
Set-Cookie: ASP.NET_SessionId=tbrfhoipw3nl0tmtorfypk3j; path=/; HttpOnly
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 5077
浏览器每次发送的头信息:
GET / HTTP/1.1
Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/QVOD, application/QVOD, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: zh-CN
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; qdesk 2.3.1186.202; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)
Accept-Encoding: gzip, deflate
If-Modified-Since: Tue, 18 Sep 2012 10:51:53 GMT
If-None-Match: "be93479d8b95cd1:4c0"
Host: *******
Connection: Keep-Alive