in reply to Re: mod_perl reloading handler on each call
in thread mod_perl reloading handler on each call
I changed the code an introduced a global $output then inside handler() I set $output ||= $c->param('output');. Upon each run I got the script to output $output.
Then I kept calling the script with a different output: output=1, output=2 etc ... once I got to 9, the printed result was 'Output: 1' ... which means it had got to the end of the available processes and reused the first one again :))
Thanks again!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: mod_perl reloading handler on each call
by perrin (Chancellor) on Jan 10, 2005 at 04:09 UTC |