// File Name: util_nocach.inc // // Content: PHP code to prevent caching // Prevent all caching. Set expiery date in the past. header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Last modified at the current date and time. header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // For HTTP 1.1: header ("Cache-Control: no-store, no-cache, must-revalidate"); header ("Cache-Control: post-check=0, pre-check=0", false);
| Links |
|---|