2004年12月2日
摘要: 在ASP.NET中有时候需要禁止从缓存取数据,我使用了如下代码让缓存无效this.Page.Response.Cache.SetExpires(DateTime.Now);this.Page.Response.Cache.SetCacheability(HttpCacheability.NoCache);但随之问题就来了,当我save前做数据验证时,点击出现的验证提示后,出现“缓存过期”提示页。不... 阅读全文
posted @ 2004-12-02 14:21 西红柿炒鸭蛋 阅读(711) 评论(0) 推荐(0)