in reply to mod_perl: globals and security question

i.e. it localizes some variables in a namespace and then assigns to them, making them globally available throughout the request.

From the small snippet given, the variables are not available throughout the request but only until the end of the block (in this case the handler). If you need to pass data around the different phases of the request, then pnotes is what you need.

-derby
  • Comment on Re: mod_perl: globals and security question

Replies are listed 'Best First'.
Re^2: mod_perl: globals and security question
by scollyer (Sexton) on Oct 12, 2005 at 14:19 UTC
    Well spotted - I should have said "available throughout the handler".

    I've corrected the original post. The code works fine, BTW; It's that specific security hole that I'm interested in.

    Steve Collyer