On 1/17/06, Martina Oefelein <[EMAIL PROTECTED]> wrote:
> > I attempted to make a patch, but I borked it at the last moment and
> > now have
> > no source reference... d'oh!
>
> Never mind, I made a patch that avoids cookies, and thus the security
> risk. My patch lets you use arbitrary objects with flash.
>
> See #297 in trac:
> http://trac.turbogears.org/turbogears/ticket/297
That misses part of the value of tg.flash.
turbogears.flash("Changes saved!")
turbogears.redirect("/")
There's no template rendered *until the next request* in that case,
which is why the flash function exists.
Kevin