[Zope-DB] Per-user connections

M.-A. Lemburg mal@lemburg.com
Mon, 09 Dec 2002 11:07:33 +0100

Just to understand this discussion: why are per-user connections
needed ?

Is it because you want to manage authentication for these
connections on a per-user basis ?

 From a technical point of view, it should be possible to
place a Zope connection object into a user or even session
object, since they are pickleable. Even transactions should
work, since each .query() call registers itself with the

The only point to watch out for is thread safety, since probably
not all DAs provide thread locks around the various method

Marc-Andre Lemburg
CEO eGenix.com Software GmbH
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/