On Jul 9, 2011, at 11:52 AM, Jim Karsten wrote: > Yeah, I'm aware of that. However, what if I want that message when > controller1 is called on its own, not as a redirect from controller2. In the > example I provided the message isn't very useful, but in some case the > message can be.
When would it be useful? If you need user instructions, why not just put them somewhere on the page, and not commandeer flash for the purpose? (Before the controller is called, session.flash is copied to response.flash and session.flash is set to None. You could check whether there's something in response.flash and not clobber it, if you liked.)