• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cache problem for safari browser

#1
[eluser]crimsun[/eluser]
Hello Team,

I am working with CI 1.7.3 version i face one problem when i logout from my site and use the browser back button so its show me the previous page from where i logout from site....

I resolved this problem using cache clear as

eg:-

Code:
$this->no_cache();

Code:
protected function no_cache(){
                header('Cache-Control: no-store, no-cache, must-revalidate');
                header('Cache-Control: post-check=0, pre-check=0',false);
                header('Pragma: no-cache');
        }

And its work fine for the some of broswer as Firefox chrome etc....but i still face the problem for safari browser its still show me the previous page rather that redirect to login page.

So please suggest me any solution for this if any ....Thanks in Advance...


Messages In This Thread
Cache problem for safari browser - by El Forum - 04-01-2011, 02:31 AM
Cache problem for safari browser - by El Forum - 04-01-2011, 06:58 AM
Cache problem for safari browser - by El Forum - 04-01-2011, 08:35 AM
Cache problem for safari browser - by El Forum - 04-01-2011, 02:22 PM
Cache problem for safari browser - by El Forum - 04-04-2011, 01:15 AM
Cache problem for safari browser - by El Forum - 04-04-2011, 01:42 AM
Cache problem for safari browser - by El Forum - 04-04-2011, 05:07 AM
Cache problem for safari browser - by El Forum - 04-05-2011, 11:58 PM
Cache problem for safari browser - by El Forum - 04-06-2011, 12:07 AM
Cache problem for safari browser - by El Forum - 11-06-2013, 07:45 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.