Re: Execute php with back button
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Execute php with back button

From: Tim Roberts <timr@probo.com>
Date: Sat Dec 31 2005 - 21:54:34 CET

Lüpher Cypher <lupher.cypher@verizon.net> wrote:
>
>Simply disable caching:
>
><?php
>
>header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
>header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past

I've seen a number of different suggestions on disabling caching over the
years, with variations that worked some places but not in others.

Is this now the "canonical" recommended method of disabling caching of a
web page? Does this really catch all the major browsers and proxies,
including AOL's rather aggressive "accelerator"?

-- 
- Tim Roberts, timr@probo.com
  Providenza & Boekelheide, Inc.
Received on Tue Jan 3 03:51:12 2006