Hi David, I think the problem is that modules and controllers are executed on every page call.
The web2py DAL open AND close a new connection to the DB on ever page call. Maybe you shut do the same for mongo too. >>> connection = Connection() do your stuff >>> connection.disconnect() Martin On 9 Mai, 08:22, David Marko <[email protected]> wrote: > Thank you for your response. I still have the problem with the > connection object to MongoDB as stated in my first post. Where to put > the lines establishing the connection?

