[TYPO3-core] RFC #11684: Add support for flash messages in the backend
Ingo Renner
ingo at typo3.org
Wed Aug 19 10:49:29 CEST 2009
Steffen Kamper wrote:
Hi Steffen,
> yes, i've seen it. I thought about one class holding more than one
> message.
Nope, each instance represents a single message.
> Now each message is saved in session, what's the reason? (a bit
> more background info about the concept would be fine)
That's to simply "store" them "somewhere". Sessions are a common place
to store flash messages as they're user bound, think of an "OK - News
entry successfully saved" message displayed to a user after saving a
news record.
> Whats about a wrapper function doing this with one call?
to do what?
Ingo
--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2
More information about the TYPO3-team-core
mailing list