[mod_python] Does mod_python have a global dictionary or sorts?

James Gate gatesyy at hotmail.com
Mon Jul 5 17:36:57 EDT 2004


Hi,

I've started writing Web Applications using mod_python and was wondering if 
there is some sort of global dictionary that I can register objects in, 
similar in method to that of Java Servlets? What I'm trying to do is create 
a global connection pool for database access, that is accessible by all 
apache threads. I've written and tests a thread safe connection pool, and 
just need somewhere to place an instance of it!

Any help or pointers would be greatly appreciated, thanks in advance,

James Gate.

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo



More information about the Mod_python mailing list