CodeIgniter Forums
opera cache issue - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: opera cache issue (/thread-54608.html)

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

[eluser]Tejas D[/eluser]


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.