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.
This commit is contained in:
Fernando Ontiveros
2011-06-23 11:43:37 -04:00
parent a4042a8bab
commit a66aa7c2e8

View File

@@ -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);