From a66aa7c2e870ff5fa291cfc5ffceb9a6d34dc713 Mon Sep 17 00:00:00 2001 From: Fernando Ontiveros Date: Thu, 23 Jun 2011 11:43:37 -0400 Subject: [PATCH] BUG 0006598 Internet Explorer 7 & 8 caches cases fixed this issue changing the Expires header in sysGeneric the date was a future date, I changed to one day before date. --- workflow/public_html/sysGeneric.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index 611c65056..2f1e9a2ac 100644 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -525,7 +525,7 @@ $startingTime = array_sum(explode(' ',microtime())); //****** define and send Headers for all pages ******************* if ( ! defined('EXECUTE_BY_CRON') ) { - header("Expires: " . gmdate("D, d M Y H:i:s", mktime( 0,0,0,date('m'),date('d'),date('Y') + 1) ) . " GMT"); + header("Expires: " . gmdate("D, d M Y H:i:s", mktime( 0,0,0,date('m'),date('d')-1,date('Y') ) ) . " 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);