Re: server wide variables

2007-06-25 Thread Graham Dumpleton
On Jun 26, 10:29 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Jun 26, 1:29 am, Jay Sonmez <[EMAIL PROTECTED]> wrote: > > > 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 y

Re: server wide variables

2007-06-25 Thread Graham Dumpleton
On Jun 26, 1:29 am, Jay Sonmez <[EMAIL PROTECTED]> wrote: > 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

Re: server wide variables

2007-06-25 Thread Matimus
On Jun 25, 8:29 am, Jay Sonmez <[EMAIL PROTECTED]> wrote: > 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 don't have any experience with mod_python, but I'm assuming all of the standard python modules are

Re: server wide variables

2007-06-25 Thread Stephen R Laniel
On Mon, Jun 25, 2007 at 03:29:25PM -, Jay Sonmez wrote: > 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? Would setting environment variables help you? You'd use os.environ. http://docs.python.org/lib/os-

server wide variables

2007-06-25 Thread 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? -- http://mail.python.org/mailman/listinfo/python-list