[Zope-DB] Dynami Connection to database in SESSION

Chris Withers chris at simplistix.co.uk
Mon Jun 28 05:05:08 EDT 2004

hawelek_tlen wrote:

> how can I create dynamically connection do Oracle Database in ZOpe,
> I mean, I want to create for each SESSION in Web Browser own connection do database,
> I think this is common-problem about creating object in session, how can I do this?

The normal way to do this is to create a "Zope" user for Oracle and use these 
connection details in a ZOracleDA connector, which you then use in your scripts 
and templates via ZSQL methods...


Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk

More information about the Zope-DB mailing list