[TYPO3-core] RFC #11684: Add support for flash messages in the backend

Francois Suter fsu-lists at cobweb.ch
Wed Aug 19 21:24:21 CEST 2009


Hi,

> i see, but that's needed as every message is a single object.
> Having a class as singleton could hold all the messages in an array 
> without need to store in a session, having methods like addMessage, 
> renderMessage, renderAllMessages etc.
> Saving in session only makes sense imho if you need them at later point.
> You see what i mean?

I think I see what you are wondering about. Storing flash messages into 
session is necessary because you may have redirects after some 
operations and you don't want to lose the messages. This happens for 
example when editing a record and an error happens upon saving.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list