31
Mar
09

Page Expire For Html, Asp, Php, Java

[?]

HTML

<META HTTP-EQUIV=”pragma” CONTENT=”no-cache”>
<META HTTP-EQUIV=”Cache-Control” CONTENT=”no-cache, must-revalidate”>
<META HTTP-EQUIV=”expires” CONTENT=”0″>
ASP

Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.cachecontrol = “no-cache”
PHP

header(”Expires: 0″);
header(”Cache-Control: no-cache, must-revalidate”);
header(”Pragma: no-cache”);
JSP

response.setHeader(”Pragma”, “No-cache”);
response.setHeader(”Cache-Control”, “no-cache”);
response.setDateHeader(”Expires”, 1);

Share This Sphere: Related Content


0 Responses to “Page Expire For Html, Asp, Php, Java”


  1. No Comments

Leave a Reply




August 2022
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
293031  



Close
E-mail It