Hey All,

Just started a couple months ago on cake, so still pretty green.
Wanted to run this by you guys to make sure I'm not missing the boat
here.

I have view caching with the cache helper working with simple pages.
The problem starts when the <cake:nocache> tags are added into the
view.

If I wrap <cake:nocache> tags around simple php, there is no problem
with time() functions or $_SERVER vars.

The problem starts when i'm accessing variables that are set by the
controller/action.  So if in the controller/action i am doing:
   $this->set('photos', $this->Photo->findAll(x,x,x,x) );

When the cached version of the page runs, the $photos variable is null.
 I looked at the example given by:
http://manual.cakephp.org/chapter/view_cache and that seems to suggest
that variables introduced by $this->set would still be accessible.

Thoughts?

Harrison


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to