[mod_python] How to keep globals

Terry MacDonald terry.macdonald at dsl.pipex.com
Sat Nov 27 19:20:52 EST 2004

On Sat, 2004-11-27 at 17:35, David Geller wrote:
> What are the 
> advantages/disadvantages to making the cursor global as well and using 
> the same cursor for each request?

I have written an app (mod_python 3.1.3, apache 2.0.51 - prefork MPM) that 
uses a global db connection (Postgresql and pypgsql) and cursor this way 
and it works fine.

More information about the Mod_python mailing list