Welcome Guest, Not a member yet? Register   Sign In
redirect() and cache issues??
#11

[eluser]jto1[/eluser]
P.S Junaid Atique did work for me also, so thanks

$this->output->set_header('Last-Modified: ' . gmdate("D, d M Y H:iConfused") . ' GMT');
$this->output->set_header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
$this->output->set_header('Pragma: no-cache');
$this->output->set_header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
#12

[eluser]behnampmdg3[/eluser]
Adding this to <head> saved the day for me:


<meta http-equiv=“pragma” c />
<meta http-equiv=“Expires” c />
<meta http-equiv=“CACHE-CONTROL” c />
#13

[eluser]gummiforweb[/eluser]
Have you tried disable the caching with .htaccess?
Link

Are you using the codeignitor caching? or you are talking about the browser caching?




Theme © iAndrew 2016 - Forum software by © MyBB