
December 8th, 2004, 12:28 AM
|
|
Contributing User
|
|
Join Date: Jan 2004
Posts: 84
Time spent in forums: 8 h 7 m
Reputation Power: 5
|
|
|
sharing python objects between cgi scripts
Hi all. I am looking for a way to share a python object between a few cgi scripts. The object is a database connection, and so obviously I'd rather just set up one connection to a MySQL database and have all scripts use that rather than each one open up a new connection to the database every time it is run. I've been playing around with a few ideas for a while, but haven't found an elegant solution. any help would be much appreciated.
rebbit.
|