get_remote_host for mod_perl2

2002-07-31 Thread Tim Keefer

Hi All,
Any ideas for retrieving the users ip address within a mod_perl2 module? 
mod_perl1 has $r-get_remote_host. Is their something similar in mod_perl2? 
I've searched all the mod_perl2 docs on perl.apache.org and couldn't find 
anything about this.
Thanks in advance,
Tim Keefer




TIPool / multiple database connections

2002-07-15 Thread Tim Keefer

I need to have several database connections within one modperl application 
(sharing the connections across all modules would ideal).  Could anyone 
suggest a way to cache these connection with Apache2/modperl2 on win32?

The modperl2 docs talk about a TIPool module along with a DBIPool module. 
Has anyone had success using these modules? I can't seem to find them in 
the apache2/modperl2 distribution from Randy Kobes.
Thanks for any help,

Tim Keefer
Allen Press, Inc.
Lawrence, Kansas