From d5006757422e1805cad463219a69526d4be7af06 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 16 Nov 2005 06:31:22 +0000 Subject: [PATCH] r566: Sending nocache headers --- includes/init.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/includes/init.php b/includes/init.php index a1b9b89..c711dbb 100755 --- a/includes/init.php +++ b/includes/init.php @@ -63,6 +63,15 @@ $bugsys->options = array(); $bugsys->userinfo = array(); $bugsys->datastore = array(); +// ################################################################### +// send nocache + +header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); +header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); +header("Cache-Control: no-store, no-cache, must-revalidate"); +header("Cache-Control: post-check=0, pre-check=0", false); +header("Pragma: no-cache"); + // ################################################################### // populate our caches $datastoretemp = $db->query("SELECT * FROM " . TABLE_PREFIX . "datastore"); -- 2.22.5