Response.redirect到一个新页面时,保证不是缓存的方法

        有时老是加载cache中的数据,可以通过
           Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
        将页面设置成为不使用缓存的。

相关连接
防止asp.net页面通过IE后退
ASP.Net中让网页“立即过时”
值得收藏的一些网页代码(asp,js,hml)
posted @ 2005-11-07 12:20  jetz  阅读(947)  评论(0编辑  收藏  举报