类型:转载 责任编辑:asp.net 日期:2007/05/23
热门软件下载:
我现在一边修改一边调试php程序,但是返回给客户端的都是旧的,该怎么写才能每次都取最新的?
ASP中可以用Response.Expire=0,PHP可以用什么?
网友回答:
在<body>前加上:
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta http-equiv="expires" content="Wed, 26 Feb 1997 00:00:00 GMT">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">