From: <nuc...@us...> - 2008-09-23 23:15:20
|
Revision: 5584 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5584&view=rev Author: nuclear_eclipse Date: 2008-09-23 23:14:02 +0000 (Tue, 23 Sep 2008) Log Message: ----------- Fix bug #9323: form contents not cached in Internet Explorer Modified Paths: -------------- branches/BRANCH_1_1_0/mantisbt/core.php Modified: branches/BRANCH_1_1_0/mantisbt/core.php =================================================================== --- branches/BRANCH_1_1_0/mantisbt/core.php 2008-09-23 21:44:05 UTC (rev 5583) +++ branches/BRANCH_1_1_0/mantisbt/core.php 2008-09-23 23:14:02 UTC (rev 5584) @@ -148,13 +148,13 @@ # with option to bypass if running from script global $g_bypass_headers, $g_allow_browser_cache; if ( !isset( $g_bypass_headers ) && !headers_sent() ) { + if ( isset( $g_allow_browser_cache ) ) { - header( 'Cache-Control: private, must-revalidate' ); + header( 'Cache-Control: private, proxy-revalidate' ); } else { - header( 'Pragma: no-cache' ); header( 'Cache-Control: no-store, no-cache, must-revalidate' ); - header( 'Cache-Control: post-check=0, pre-check=0', false ); } + header( 'Expires: ' . gmdate( 'D, d M Y H:i:s \G\M\T', time() ) ); # SEND USER-DEFINED HEADERS This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |