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

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Mon Apr 26 15:18:44 CEST 2010


Stephan maybe meant the count of pages to live with TTL.
Like you set it to '1' so it will only be displayed on
the next page, if you set '2' it will be displayed on
the next two pages - or after two redirects etc.

Thomas

Am 24.04.2010 09:22, schrieb Martin Kutschker:
> 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