mod_perl postgres idle connections

2004-02-24 Thread James Taylor
Hi everyone, I'm fairly new to mod_perl but have been working with perl for a few years now. I have a site which connects to postgres, no idea whether it uses persistent connections or not, as the custom modules built prior to me looking at it goes pretty deep. Connections to postgres are made t

Apache::Cookie and CGI::Cookie Interoperability

2004-03-10 Thread James Taylor
I'm having difficulty getting my mod_perl scripts and then my non-mod_perl scripts reading cookies between each other. I have a mod_perl TransHandler that sets a cookie via Apache::Cookie, and then I have some scripts in my /cgi-bin that try and read the cookie using basic CGI::Cookie. It doe

Re: Apache::Cookie and CGI::Cookie Interoperability

2004-03-10 Thread James Taylor
I'm not sure that I understand... Are you saying that it's not a possible to do this? If this isn't a possibility, do you have any suggestions on something else to do? On Mar 10, 2004, at 6:44 PM, Stas Bekman wrote: James Taylor wrote: I'm having difficulty getting my

Mod Perl Helper Functions Library

2004-10-04 Thread James Taylor
Hi everyone, I'm running apache 1.3.x with the associated version of mod_perl, but am having trouble creating regular old include files to be used with helper functions. Works just great with regular old CGI, mod_perl doesn't like it. Say for example I have two files, main.pl and helper.pl. Co

Header_out break frames

2004-11-02 Thread James Taylor
Should be a pretty simple question, looking for an option in header_out to target a frame. For example... . $r->err_header_out("Pragma", "no-cache"); $r->header_out('Location' => 'http://www.somesite.com/login_expired.html'); $r->status(REDIRECT); $r->send_http_header; Was hoping I could