摘要: 在普通aspx.cs代码里可以用:Cache cache = new Cache();但在XXXX.CS里,就不能用上面的方式了,得用:永不时间过期HttpContext.Current.Cache.Insert("Name", "王翔", null, DateTime.MaxValue, TimeSpan.Zero, CacheItemPriority.NotRemovable, null);N... 阅读全文
posted @ 2010-02-26 15:52 王翔(kingfly) 阅读(599) 评论(0) 推荐(0) 编辑