J
Jay Sonmez
I want to be able to save some server variables as long as Apache runs
on the server (mod_python).
How is that possible in Python?
on the server (mod_python).
How is that possible in Python?
I want to be able to save some server variables as long as Apache runs
on the server (mod_python).
How is that possible in Python?
I want to be able to save some server variables as long as Apache runs
on the server (mod_python).
How is that possible in Python?
I want to be able to save some server variables as long as Apache runs
on the server (mod_python).
How is that possible in Python?
It depends on whether you expect all Apache child processes for that
server to be able to access the data and for the data to be able to
survive the killing off and start up of individual Apache child
processes.
For background on some of the issues read:
http://www.dscpl.com.au/wiki/ModPython/Articles/TheProcessInterpreter...
Saving data in os.environ is not recommended even if they have to
survive just within the context of that specific interpreter within
that process, as os.environ access and update is not thread protected
and Apache child processes may be multithreaded.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.