Welcome Guest, Not a member yet? Register   Sign In
Strange phenomenon, am I alone?
#5

[eluser]Phil Sturgeon[/eluser]
In Firefox and IE you can hit Shift + Refresh to force a new load. I had this problem MANY times when developing on an IE only computer which lead to me adding in the following code to my Layout library.

Code:
$this->CI->output->set_header('Expires: Sat, 01 Jan 2000 01:00:00 GMT');
$this->CI->output->set_header("Cache-Control: no-store, no-cache, must-revalidate");
$this->CI->output->set_header("Cache-Control: post-check=0, pre-check=0, max-age=0");
$this->CI->output->set_header('Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
$this->CI->output->set_header("Pragma: no-cache");

Possibly overkill, but it made me feel better telling IE to go screw itself, and seemed to stop this from occurring.


Messages In This Thread
Strange phenomenon, am I alone? - by El Forum - 12-28-2008, 05:29 AM
Strange phenomenon, am I alone? - by El Forum - 12-28-2008, 06:49 AM
Strange phenomenon, am I alone? - by El Forum - 12-28-2008, 07:17 AM
Strange phenomenon, am I alone? - by El Forum - 12-28-2008, 01:02 PM
Strange phenomenon, am I alone? - by El Forum - 12-29-2008, 03:32 AM
Strange phenomenon, am I alone? - by El Forum - 01-02-2009, 09:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB