Welcome Guest, Not a member yet? Register   Sign In
Preventing the Browser From Caching [ Help ]
#2

[eluser]Lone[/eluser]
You can't stop the back button from having this action depending on the browser you are using as from memory some browsers (IE6?) don't bother after refreshing content when you click back.

The real test is click back then press refresh and see if the status has changed. Alternatively if you are still having cache issues insert the following into the relevant controller function/method.

Code:
$this->output->set_header("Cache-Control: no-store, no-cache, must-revalidate, no-transform, max-age=0, post-check=0, pre-check=0");
$this->output->set_header("Pragma: no-cache");


Messages In This Thread
Preventing the Browser From Caching [ Help ] - by El Forum - 04-28-2008, 03:21 AM
Preventing the Browser From Caching [ Help ] - by El Forum - 04-28-2008, 04:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB