-
- < ;metahttp-equiv="expires"content="wed,26feb199708:21:57gmt">
- or
Copy code
asp web page
-
- <%
- response.expires=-1
- response.expiresabsolute=now()-1
- response.cachecontrol="no-cache"
- %>
Copy code
php web page
-
- header("expires:mon,26jul199705:00:00gmt");
- header("cache-control:no-cache,must-revalidate");
- header("pragma: no-cache");
- ?>
Copy code
jsp web page
-
- response.addHeader("pragma", "no-cache");
- response.addHeader("cache-control", "no-cache,must-revalidate");
- response.addHeader("expires ", "0");
Copy code
|