[ZODB-Dev] Holding ref to database connection

alan runyan alan runyan" <runyaga@runyaga.com
Fri, 16 Aug 2002 11:33:28 -0500


Marco,

I think you are getting confused on how the ZODB works.  
Its a "somewhat" common thing to hold RDBMS connections
in a SESSION (*not* cookies) if you are doing transactions across 
multiple pages.  You very well may be able to do something
like this with the ZODB.  But you can only have 1 connection
open to the ZODB.  This is why if you want to have multiple
connections to a ZODB (ZEO clients) you need to setup ZEO.
And in ZEO configuration each of those clients only have 1 connection
open to their ZODB (but they're storage is housed on another computer).

Ultimately what your previous request implied was you were not
grokking how the ZODB worked.  You really ought to seek paid consulting
from a ZOPE guru before moving forward on your current implemnetation.

~runyaga