CodeIgniter Forums
opera cache issue - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: opera cache issue (/thread-54608.html)



opera cache issue - El Forum - 09-17-2012

[eluser]Tejas D[/eluser]

Hello,

I want reload the page on clicking back button of the browser.

I used the below code As:

public function clear_cache(){
$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");
}

This above code works fine with firefox,chrome.But doesnot work with opera.

What to do, Please help.