怎么防止刷新或者网页立即过期

smallmuda 2003-10-20 01:00:58
response.expires = 0
response.expiresabsolute = now() - 1

response.addHeader "pragma","no-cache"
response.addHeader "cache-control","private"

Response.cachecontrol = "no-cache"

这个没用地说
...全文
59 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
gmlxf 2003-10-20
  • 打赏
  • 举报
回复
response.expires = 0
response.expiresabsolute = now() - 1
Response.cachecontrol = "no-cache"


我用这个。
luckybbs 2003-10-20
  • 打赏
  • 举报
回复
有更好的说
luckybbs 2003-10-20
  • 打赏
  • 举报
回复
没用,我就采用这个方法不行
qdubit 2003-10-20
  • 打赏
  • 举报
回复
以前有过类似的问题,你搜搜吧。

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧