Thanks gentlemen. I thought I was correct about the behavior of my code.
However, Informix uses system authentication routines and we won't allow
root (the user running httpd at that point) to login remotely.
Time for an expedient hack I guess. <sigh>
Regards,
Jeff
On 28 Jul 2000, David Hodgkinson wrote:
>
> Perrin Harkins <[EMAIL PROTECTED]> writes:
>
> > On Thu, 27 Jul 2000, Jeff Beard wrote:
> > > I have a couple of package globals that I'd like to populate with
> > > information from a database when I fire up the web server
> > [...]
> > > I thought it might be as simple a declaring the variables and
> > > populating them the first run of the program but that's no good.
> >
> > That should work, but you have to do it before the fork (i.e. in
> > startup.pl or something called from it) and you have to make the variables
> > globals not lexicals.
>
> And make sure you don't try to re-use the database handle in the
> daughter Apache processes...
>
> --
> Dave Hodgkinson, http://www.hodgkinson.org
> Editor-in-chief, The Highway Star http://www.deep-purple.com
> Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
> -----------------------------------------------------------------
>