Assuming session stored in files, something like this might work (haven't tried it):
session._try_store_in_file(request, response) # store the session in the file session.forget(response) # unlock the session file so it can be opened by another request There's also session._try_store_in_db and session._try_store_in_cookie if using db or cookie based sessions. Note, these are all internal methods, so not part of the API (and therefore not guaranteed backward compatible). Anthony On Saturday, March 16, 2013 12:32:29 PM UTC-4, RunSky ruan wrote: > > I want to save the session right now ,because a function must exe for al > long time, > how to save it right now? > -- --- 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.

