文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>防止页面缓存的方法

防止页面缓存的方法

时间:2007-07-15  来源:PHP爱好者

htm网页
<metahttp-equiv="pragma"content="no-cache">
<metahttp-equiv="cache-control"content="no-cache,must-revalidate">
<metahttp-equiv="expires"content="wed,26feb199708:21:57gmt">
或者
<metahttp-equiv="expires"content="0">

asp网页
response.expires=-1 response.expiresabsolute=now()-1
response.cachecontrol="no-cache"

php网页
header("expires:mon,26jul199705:00:00gmt");
header("cache-control:no-cache,must-revalidate");
header("pragma:no-cache");

jsp网页
response.addHeader("Pragma", "No-cache");
相关阅读 更多 +
排行榜 更多 +
这一关太烧脑

这一关太烧脑

休闲益智 下载
改善老人生活

改善老人生活

飞行射击 下载
跑酷大冲刺最新版

跑酷大冲刺最新版

休闲益智 下载