gridview中加了一列buttonfield,写好了按钮事件,如果点了两次以上再后退网页就是过期,有什么办法让它不显示过期或者直接退到上一页面?
解决方案 »
- 编译器错误消息: CS0117: “NewsManager.Commpont.AssetTypesService”并不包含“AssetTypeByAssetTy
- 如何简单得知datagridview当前单元格的行号与列号
- 关于循环后如何排版的问题?
- 散30分登陆问题请高人看看!顶的兄弟也有分不够+分!
- Timeout expired的错误
- 诚招美工
- asp.net发送邮件的问题
- 哪位高手能解决"音标显示问题"?
- 疑惑:ASP.NET的站点做好了以后,接受此站点的服务器需要什么条件??(90分给说得最全的一人)
- Server Error in '/' Application
- 数据源 asp.net 分两次绑定,也就是说一个数据源要分成两个数据源,我想从中间切开
- 如果比较IP地址?
设置CacheControl为private
<META content=no-cache>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content=0> Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
Response.Expires = 0;
Response.Buffer = true;
Response.ExpiresAbsolute = DateTime.Now.AddSeconds(-1);
Response.AddHeader("pragma", "no-cache");
Response.CacheControl = "no-cache";