Browser script No-cashe

In HTML
<meta http-equiv="Expires" content="Tue, 01 Jan 2000 12:12:12 GMT">
<meta http-equiv="Pragma" content="no-cache">
In ASP/IIS:
  http://support.microsoft.com/support/kb/articles/Q234/0/67.asp
  <% Response.CacheControl = "no-cache" %>
  <% Response.AddHeader "Pragma", "no-cache" %>
  <% Response.Expires = -1 %>

In PHP:
http://www.php.net/manual/en/function.header.php

< ?php
  Header('Cache-Control: no-cache');
  Header('Pragma: no-cache');
  ?>

In COLD FUSION:
<cfheader name=”Expires” value=”#Now()#”>
<cfheader name=”Pragma” value=”no-cache”>

In JSP:
http://www.jguru.com/faq/view.jsp?EID=377&page=2
<%
response.setHeader(“Cache-Control”,”no-cache”);
response.setHeader(“Pragma”,”no-cache”);
response.setDateHeader (“Expires”, 0);
%>

Leave a comment