Hello All,

Right now I'm using view caching and it's working great.

However, I'm running into a problem.  I'd like to be able
to dynamically turn the view caching on and off depending
on if an admin is logged in.  The problem is that all my
checks if a user is logged in occur in the controllers.  So
because the pages are cached, if an admin visits a page
that has already been cached then it never reaches the
controller, and thus I can't disable the cache.

How can I dynamically use my admin session to turn
view caching on and off?  I'd like to be able to leave the
cached versions of the pages in tact for normal users
while turning the site into full live queries if an admin is
logged in.  What file should I be performing this check in?

Any help would be greatly appreciated.

Thanks,

D
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to