Re: Setting cookie for cached pages?

2009-10-22 Thread Bert Van den Brande
I haven't done this before, but I think you need to do your caching manually
in each controller. http://book.cakephp.org/view/764/Cache

This way you can set the cookie in your controller and then display the
cached content.


On Wed, Oct 21, 2009 at 3:22 PM, Kana  wrote:

>
> I need to set a cookie every time a page is opened. When a page is not
> cached, this is no problem. But for cached pages this is.
>
> What must I do to be able to a cookie as soon as I open a cached file?
>
>
> Kana
> >
>

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



Setting cookie for cached pages?

2009-10-21 Thread Kana

I need to set a cookie every time a page is opened. When a page is not
cached, this is no problem. But for cached pages this is.

What must I do to be able to a cookie as soon as I open a cached file?


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