Thank you, Massimo. Is there any way an application to hold multiple SQLDB objects, pointed from variables, whose names are not known in advance?
On Dec 9, 8:10 pm, mdipierro <[email protected]> wrote: > You cannot store a db in session because SQLDB requires a connection. > The connection is closed (or recycled) when the reponse is completed > and the transaction is committed. > > On Dec 9, 11:52 am, Vidul Petrov <[email protected]> wrote: > > > > > Is SQLDB object creation in session possible? > > > The following code did not work for me (I didn't manage to use session > > before SQLDB): > > > from gluon.tools import * > > > if not session.db: > > session.db = DAL() > > > My intention is to store multiple SQLDB objects in one application, > > one per user. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

