Timothy Stebbing
tim.stebbing at nunatak.com.au
Thu Dec 18 10:14:40 EST 2003
Is there some way to persist data resource using apache? Im writing a simple protocol module using PythonConnectionHandler, this takes queries and runs them against various backends, ie postgres, Lupy (indexer), etc. I want to persist my connections to these resources across all requests. Ive tried adding a db 'pool' into a module, but the module is reloaded for each request serviced. Im wondering if there is some way I can add objects into these 'apache tables' ? would that make them persistant, and if so how do I do that? I was also wondering if I could somehow access the main namespace from child interpreters? cheers tjs
|