[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help: ENV shared between requests???



On Jul 30, 2006, at 2:56 PM, Fred Tyler wrote:

On 7/30/06, Hendrik Van Belleghem <suppressed> wrote:
Using the pure mod_perl approach has always worked for me:

my $ref = $req->header_in("Referer");

Oh, wow, that's actually just what I was looking for. Is that
case-sensitive? I'd like to stop using %ENV altogether, but the stuff
in %ENV is scattered in several different places and I don't always
know where to find it ($r->header_in('something'), $r->document_root,
$s->port, etc.)

Is there some kind of mapping somewhere that tells you where to find
the stuff that you'd find in %ENV under CGI? It wasn't in the
CGI->mod_perl porting guide.


look into the Apache::Request / RequestRec and Utils docs

	http://perl.apache.org/docs/2.0/api/index.html

they should have everything you need


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.