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.


Reply via email to