On Tue, Aug 6, 2013 at 1:55 PM, Anthony <[email protected]> wrote: > session.emailvariable = request.vars.email > > Because the above is in a model file, it runs on every request. After the > form has been submitted, on subsequent requests, the value of > request.vars.email will be None, so you are simply overwriting the value > originally stored in the session. Instead, do something like: > > if request.vars.email: > session.emailvariable = request.vars.email > > Hi Anthony,
Thank you for the explanation. That was exactly what I needed! -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

