[Zope] dynamically assigning DB-connections to ZSQL-methods ?

Geir Bækholt Geir Bækholt <geirh@funcom.com>
Thu, 7 Jun 2001 10:20:05 +0200


I have to make some ZSQL-methods connect to different
database-connections based on a cookie, but am experiencing a bit of
trouble..

available DB-connections for a ZSQL-method are listed in a select-box
only, not as a simple string , so it is
troublesome just adding a python-script to return a DB-connection
conditionally....

Have anybody done anything like this ?
tips ?

-- 
Geir Bækholt                   Web-developer/zopatista  
geirh@funcom.com             funcom oslo | webdev-team
       
            <!-- PGPid : 0x90B47B20 -->