No. It is executed inside auth
On Sep 10, 12:29 am, Adi <aditya.sa...@gmail.com> wrote: > Question: Will the function "lola" execute in a different thread or > something? > > On Sep 10, 2:50 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > This app > > > http://vizworkshop.cct.lsu.edu/viz2010 > > > Stored here: > > > http://code.google.com/p/hevw/ > > > Does what you asked. Look into the "lola" function: > > > http://code.google.com/p/hevw/source/browse/models/db.py > > > On Sep 9, 6:05 am, Adi <aditya.sa...@gmail.com> wrote: > > > > Hi, > > > > I have this test case: > > > > 1. User registers in app. > > > 2. App sends him greeting email ("Welcome to so-and-so app"). > > > 3. App adds his email/name etc to mailing application (like Mailchimp) > > > for auto-subscribing to newsletter. > > > > Now user expects steps 1 completion to take him to the next 'default/ > > > index' page, and we don't want steps 2 and 3 to prevent completion of > > > step 1. Is there a way to make step 2 and 3 complete independently, in > > > a way that user's experience is not slowed down? > > > > Think of it as being equivalent of asynchronous ajax request, which > > > doesn't wait for response before moving to the next piece of > > > javascript. > > > > Any help on this? I know we should not create threads because web2py > > > handles that for us (read in some older post long long ago). > > > > -- Adi > >