I am not sure that is a cache problem or anything you can fix. Are you sure
I use Safari 4 all the time and I am under the impression that the browser sometimes doesn't do any request at all when using the back button. It simply re-displays what it a few moments ago. I have not checked if the browser technically does a request or not. It is just a feeling I get. /Martin On Sep 11, 6:13 am, p_tucky <p_tu...@whatinthai.com> wrote: > Hi, I have cache problem with safari 4. > Any one have problem like me? > > I’ve tried with this code but does not work. It take me to the > previous page and have still show the text on form. > > function beforeFilter() > { > > if($this->action == ‘login’) { > $this->disableCache(); > } > > Header( “Last-Modified: ” . gmdate( “D, j M Y H:i:s” ) . ” GMT” ); > Header( “Expires: ” . gmdate( “D, j M Y H:i:s”, time() ) . ” > GMT” ); > Header( “Cache-Control: no-store, no-cache, must-revalidate” ); > > } > > FF and IE both don’t have any problem, when click “back button” and no > cache. > Safari 4 it seem still have cache when click “back button”. > > Any solution please advise. > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---