in reply to How do you feel about mod_perl?

Does mod_perl offer information to the application programmer that makes it more useful than plain CGI?

Ie, can you get at more environmental variables such as the HTTP_REFERER or something?

Replies are listed 'Best First'.
Re: Re: How do you feel about mod_perl?
by kwoff (Friar) on Nov 05, 2001 at 21:32 UTC
    One thing is you can use $r->pnotes() to pass information from module to module (along the Apache request loop), so there's the possibility of customizing output based on the authorization phase, say, not to mention the ability in the first place to even intervene in the authorization phase. Also, you can cache some data for all requests to use (CGI programs are one-shot deals, so they have to be reloaded every request).