Thursday, June 3, 2010

Re: how to set session variable after render?

There is afterFilter().
http://book.cakephp.org/view/60/Callbacks

On Jun 3, 6:44 pm, Anna P <apad...@o2.pl> wrote:
> Hello.
>
> Just like in topic: how can I set session variable after page render?
>
> The issue is: on first visit on home page, I want to display several
> animations (logo sliding down, some not visible boxes appearing after
> timeout). But I want to display animations only once, on the first
> visit.
>
> I wanted to set function afterRender() in AppController and there set
> a session variable to switch between showing/not showing animations,
> but it seems there is no such function in 1.2.X
>
> How can I accomplish this?
>
> Many thanks in advance,
> Anna

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate