哈哈
private void Page_Load(object sender, System.EventArgs e)
{
//取消缓存
Context.Response.Cache.SetCacheability(HttpCacheability.NoCache);
}
private void Page_Load(object sender, System.EventArgs e)
{
//取消缓存
Context.Response.Cache.SetCacheability(HttpCacheability.NoCache);
}
不行啊!
IDictionaryEnumerator CacheEnum = Cache.GetEnumerator();
string name = CacheEnum.Key.ToString();
if( Cache[ name ] != null ){
Cache.Remove( name );
}
}