in reply to Synchronizing variables (in mod_perl) across Apache instances?
Probably the best solution is to use either a database to store the variables, using SQL to retrive the values of the variables, or to use something like a tied hash pointed to a file to get the variables when requested. The latter, however, might suffer from file-locking-like problems, though you might be able to wrap a "while ( cant-open-file ) { }" loop in your tie such that you can get to the file when it's available.
|
|---|