[TYPO3-mvc] Flash Messages get persisted among page hits

Martin Kutschker masi-no at spam-typo3.org
Sat Apr 24 09:22:22 CEST 2010


Stephan Reuther - development.IT schrieb:
>>
>> As long as there's some kind of control about the persistence all is
>> well.
>>
>> Masi
> 
> Maybe a TTL (time to live) value per FlashMessage would be possible
> which will
> be decremented with each redirect/forward/...
> that would enable full flexibility per FlashMessage.

I don't think that a time span makes sense. It will make more sense to flag individual messages
whether to persist or not. Or maybe even mark them with a "context" (eg the page) so that even if
the message is persisted it will only show up if the context is the same. ie there has been no
redirect to another page. Note that the "context" would allow another page to show the message if it
has the same "context" as the page that issued the message.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list