1
我在ASP Classic中包含一個表單,當用戶提交表單時他按下IE8的後退按鈕並且他再次填充表單,他重用了幾乎所有他輸入的數據先前。IE8後退按鈕重置表單
我們剛在網站上實現了SSL,現在當用戶點擊IE8的後退按鈕時,表單的字段被重置。我在Chrome中測試了它,它保持了窗體的狀態,但是IE8沒有。
如何強制IE8在按下後退按鈕時不清除表單的內容?
這是IE8的響應頭:
Key Value
Response HTTP/1.1 200 OK
Date Tue, 25 Nov 2014 03:04:49 GMT
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
pragma no-cache
cache-control private
Content-Type text/html
Expires Sat, 15 May 1999 04:00:00 GMT
Cache-control private
Transfer-Encoding chunked
Set-Cookie asdfommited; Expires=Tue, 25-Nov-2014 04:04:15 GMT; Path=/
Set-Cookie asdfommited; Expires=Tue, 25-Nov-2014 04:04:15 GMT; Path=/
這是Chrome的響應頭:
Request Headers:
Provisional headers are shown
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Referer:https://www.ommited.com
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36
Resonse Headers:
cache-control:private, private
Content-Encoding:gzip
Content-Type:text/html
Date:Tue, 25 Nov 2014 02:57:49 GMT
Expires:Sat, 15 May 1999 04:00:00 GMT
pragma:no-cache
Server:Microsoft-IIS/6.0
Vary:Accept-encoding
X-Powered-By:ASP.NET