in reply to Re: mod_perl and multiuser global variables
in thread mod_perl and multiuser global variables
hum... If it wasn't in the handler, than none of the code would execute (since it's all at the same level), and he'd see nothing at all (or rather a 500 HTTP error). I suspect he's using Apache::Registry, in which case the code *is* in the handler.
With Apache::Registry, the script gets converted to a function which is called every time the page is requested.
I bet the problem is in his hiGuiStatus module.
By the way rsennat, our isn't needed here. my will suffice and it would be a better choice here. The problem in the previous thread is that you were using a my variable as a global, which is a no-no in mod_perl. Here, they're not used as globals.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: mod_perl and multiuser global variables
by rsennat (Beadle) on Dec 05, 2005 at 15:35 UTC |