[mod_python] Does mod_python support application variable?

Graham Dumpleton graham.dumpleton at gmail.com
Fri Aug 29 19:41:53 EDT 2008


2008/8/30 Deng Yao <koolcoy at gmail.com>:
> Hello everyone:
>
> Does anyone know how to define application variables(variables that lives
> are as long as the apache server, ASP officially support this kind of
> variables) under mod_python? or does mod_python really support this kind of
> variables?

Start by reading:

  http://www.dscpl.com.au/wiki/ModPython/Articles/TheProcessInterpreterModel

Except per restrictions outlined at end of that, you can use global
data variables in normal Python modules, ie., not mod_python
reloadable code/module files.

Graham


More information about the Mod_python mailing list