On Feb 1, 1:36 pm, Lorenzo Bettini <[email protected]> wrote:
> the real problem is that beforeRender is not called if the page is
> present in the cache...  any idea of where to put such control?

How is that different than your initial question.

"Why not change the cached view folder (in the bootstrap) based on
the
presence or not of a session cookie. " means define TMP and related
constants yourself, based on whatever logic you want, before cake
does.

see http://github.com/cakephp/cakephp1x/blob/1.3/cake/config/paths.php#L174

OR use mark currys awesome cache helper, which effectively does this
for you.

AD

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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