Checkout the $this->disableCache(); in your controllers. See http://api.cakephp.org/class_controller.html#6d3203caba0410d7f86e1740c12dfe40 and http://api.cakephp.org/libs_2controller_2controller_8php-source.html#l00771
On Jul 14, 8:02 am, . <[EMAIL PROTECTED]> wrote: > anyone have any idea how facebook handles their back button/ forward button/ > refresh? the pages are always re-fetched from the server. I have tried the > following but doesn't work. how would you clear the post data ? is there a > way to do this in cake or in php in general? > > <meta http-equiv="cache-control" content="no-cache"> <!-- tells browser not > to cache --> > <meta http-equiv="expires" content="2"> <!-- says that the cache expires > 'now' --> > <meta http-equiv="pragma" content="no-cache"> <!-- says not to use cached > stuff, if there is any --> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
