Response.Cache.SetCacheability(HttpCacheability.NoCache);

先了解一下Brower「上一頁」的原理,
Browser「上一頁」是一種Cache機制,將WebPage暫存在Browser端,以省下loading的時間。
若只是瀏覽Web,「上一頁」機制是很讚的。可處理敏感性資料就頭痛了。

解法就是把該Cache關掉就行了。

http://rely1020.blog.ithome.com.tw/post/1606/60106

Advertisement