[mod_python] session lost

Graham Dumpleton grahamd at dscpl.com.au
Sun Jan 15 18:06:56 EST 2006


Lee Brown wrote ..
> Greetings!
> 
> Ah!  Thanks for the pointer.  Somehow, I had it in my head that the winnt
> MPM and the worker MPM were essentially equal.  Now I see why it makes
> a difference as far as mod_python is concerned.

Another area where it matters and where it usually shows as an issue is
that in "winnt" MPM, global module data is truly global to all handlers
in that interpreter and can be relied upon. In "worker", the fact that
there can be multiple child processes means that global data isn't
global in the sense that other child processes will have their own copy. This
is sometimes an issue where people have written handler code on Windows,
relying on global data being the same for all handlers, but then find it
isn't when they move to a Linux based system.

Graham


More information about the Mod_python mailing list