首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

Page.Response.Expires=-1 什么用啊解决方案

2012-02-21 
Page.Response.Expires-1 什么用啊?在页面的OnInit函数第一句写了Page.Response.Expires-1什么用???写

Page.Response.Expires=-1 什么用啊?
在页面的OnInit函数第一句写了Page.Response.Expires=-1;什么用???写与不写有什么区别?

[解决办法]
response.expires后面跟的是时间,就是页面过期的时间
表示页面立即过期 不缓存
[解决办法]
表示页面过期

热点排行