You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Werner Schalk <we...@gmx.de> on 2004/03/31 23:34:59 UTC
[users@httpd] Global variables in self-written module
Hi,
I have written a database-driven module for the Apache 2 on Windows (using
mpm_winnt). I am actually creating and storing all data send by the clients
in global variables (within that module) so each client process is able to
access all data globally (not only the data send by him or her) until the
Apache is restarted.
Afterwards I ported this module to Linux and no matter which mpm I use
(worker, prefork or perchild) a client is only able to access the data
submitted by him- or herself and not the global ones. Does anyone know a
trick or way around this, how can I access global variables in an Apache
module on Linux? Is there any way of synchronization between the processes or
threads?
Bye and thanks,
Werner.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org