[Zope-DB] Per-user connections
Mon, 09 Dec 2002 11:17:46 +0100
M.-A. Lemburg wrote:
> 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 ?
Yes (authentication, authorisation, auditing)
> 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