I just follow the code:

            user.update_record(registration_key = '')
            self.environment.session.flash = self.messages.email_verified
.
.
.
        redirect(next)

in tools.py


After I come out of the redirect(next) there is no session.flash to be found
with 'Email Verified'.  Any I find are empty.

Do I need to pass a session=session somewhere?

thx,

-wes

On Thu, Nov 19, 2009 at 12:16 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:

>
> self.environment.session is a reference to session
>
> On Nov 19, 1:08 pm, Wes James <compte...@gmail.com> wrote:
> > how does:
> >
> >         else:
> >             user.update_record(registration_key = '')
> >             self.environment.session.flash = self.messages.email_verified
> >
> > in tools.py
> >
> > filter back to response.flash or session.flash or something that can be
> > "flash"ed?
> >
> > I followed it with wingide, but I don't see where I can use it on the
> page
> > with my form.  All the flashes I find are ''.
> >
> > thx,
> >
> > -wes
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to