Have a look at Controller::disableCache() or manually set these
headers in AppController::beeeforeRender():
header('pragma: no-cache');
header('Cache-Control: no-cache, must-revalidate');
header('Expires: Sat, 1 Jan 2005 00:00:00 GMT');
You can also put these in META tags in your layout but those aren't as
effective as proper headers.
On Fri, May 8, 2009 at 8:34 AM, sunil.rajput <[email protected]> wrote:
>
> Dear Frinds,
>
> I am developing a project using cakephp and i have
> a problem with that, after logout when i am click on browser back
> button it shows every page without checking the session . i want that
> after logout no page display from browser history it should be first
> check the session for login.
>
> please help me.
>
> thanks
>
> Sunil.Rajput
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---