I see, it was the following statement after the insert() that was the underlying cause:
session.myrec = db(PIDB.PI_username==auth.user.username).select().first() I played around with different variations on this theme with no luck. Is there something inherently wrong with trying to store a database record id in a session variable? -- 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.

