Benjamin Elbirt wrote:
> Hey,
> 
> I've gotten it so that I can define a variable across apache children,
> however when I update the variable, it only updates for the active
> child.  Is there any way to share a variable across children so no
> matter what child is doing the update, the variable is updated for all
> children?


You cannot do that unless you use IPC, which is usually only useful if 
he variable is small. DBM file is another solution if you need share a 
hash variable.

some info is 
here:http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/guide/porting.html#Sharing_variables_between_processes

This section needs work. Can anybody help me improve this section? Thanks!

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to