This sounds like caching to me.
What debug level are you on?
Do you use view caching?
What browser do you use?
etc!

On Jul 6, 7:35 am, angel333 <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a problem with SessionComponent::setFlash(). When I save
> something in flash, it should be shown on next page and it should
> expire when user go to another page. But it doesn't expire
> immediatelly, but after a long while (probably session expiration).
> When I turn cookies off, it seems to work.
>
> I have tried writing $session->flash() in view (layout) twice. As I
> expected, the first flash() deleted Message.flash, so the second
> didn't flash. But on next request it flashes the same message again.
>
> Finally, I'm sorry for my English :).
>
> Thanks, Ondrej
--~--~---------~--~----~------------~-------~--~----~
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