Why not call $this->disableCache() in your controller and let cake
take care of that?

http://api.cakephp.org/class/controller#method-ControllerdisableCache

On May 9, 4:36 pm, brian <bally.z...@gmail.com> wrote:
> Yes, they handle things differently, of course. I'm not sure of the
> correct procedure. Have a look here:
>
> http://blog.httpwatch.com/2008/10/15/two-important-differences-betwee...
>
> On Sat, May 9, 2009 at 2:08 AM, sunil.rajput <sunil.rajpu...@gmail.com> wrote:
>
> > Dear brian,
>
> >                 Thanks for response and solution regarding the cache,
> > The problem has been solved in IE browser but in mozila the problem is
> > still same.
>
> >             So please what about for mozila.
>
> > Thanks,
>
> > On May 8, 10:13 am, brian <bally.z...@gmail.com> wrote:
> >> 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 <sunil.rajpu...@gmail.com> 
> >> wrote:
>
> >> > Dear Frinds,
>
> >> >                   I am developing a project using cakephp and i have
> >> > a problem with that, after logout when i am click onbrowserback
> >> >buttonit shows every page without checking the session . i want that
> >> > after logout no page display frombrowserhistory 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to