使用OutputCache怎么删除缓存 有时后台更新信息后想立即更新页面应该怎么做呢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 public static void ClearClientPageCache(){ HttpContext.Current.Response.Buffer=true; HttpContext.Current.Response.Expires = 0; HttpContext.Current.Response.ExpiresAbsolute=DateTime.Now.AddDays(-1); HttpContext.Current.Response.AddHeader("pragma","no-cache"); HttpContext.Current.Response.AddHeader("cache-control","private"); HttpContext.Current.Response.CacheControl="no-cache";} 那位高手帮我看下 .net 怎么监听服务器端口,读写数据,并且如何处理10万条并发数据 【求】存储过程分页代码【要求:速度快支持百万!可以支持任意字段排序,多表】 我想问一下关于编码格式的问题。高手进! 谁有net framework 框架图啊? 这个语句有错吗 有人用过vs2005的web test吗?急!!100分相赠 vs2008 预编译的问题 asp.net如何实现弹出对话框但页面不刷新? 框架问题,获得的参数同时给框架内的所有页面,在线等待 SQL语句有语法错误,帮我找找 ★☆★☆ 开源的、万能的数据库基础类测试版本发布
{
HttpContext.Current.Response.Buffer=true;
HttpContext.Current.Response.Expires = 0;
HttpContext.Current.Response.ExpiresAbsolute=DateTime.Now.AddDays(-1);
HttpContext.Current.Response.AddHeader("pragma","no-cache");
HttpContext.Current.Response.AddHeader("cache-control","private");
HttpContext.Current.Response.CacheControl="no-cache";
}