Re: Help with converting from plain CGI to mod_perl

2001-10-17 Thread Tim Gardner
>Depending on how you log into the system, the >user will connect to different databases. When they do this, I store the >Database Handle from DBI/DBD as $main::dbh. This variable has the scope of >"the length of processing the request" and then should become undef. Easy >under normal CGI, because

Re: Help with converting from plain CGI to mod_perl

2001-10-17 Thread hans
Walt Knowles wrote: > > All, > > I'm sure that this is covered somewhere in the documentation or on this > list, if I could just find the right way to ask the question. So please feel > free to send me off to read something. > > I currently have a web system with an architecture like this: > >

RE: Help with converting from plain CGI to mod_perl

2001-10-17 Thread Walt Knowles
t; From: Perrin Harkins [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 17, 2001 3:23 PM > To: Walt Knowles; [EMAIL PROTECTED] > Subject: Re: Help with converting from plain CGI to mod_perl > > > > Converting all the globals to Module variables has been a > piece of

Re: Help with converting from plain CGI to mod_perl

2001-10-17 Thread Perrin Harkins
> Converting all the globals to Module variables has been a piece of cake, but > I've run into one big issue. Depending on how you log into the system, the > user will connect to different databases. When they do this, I store the > Database Handle from DBI/DBD as $main::dbh. This variable has the

Re: Help with converting from plain CGI to mod_perl

2001-10-17 Thread Robert Landrum
At 1:49 PM -0700 10/17/01, Walt Knowles wrote: > > >Converting all the globals to Module variables has been a piece of cake, but >I've run into one big issue. Depending on how you log into the system, the >user will connect to different databases. When they do this, I store the >Database Handle fr

Help with converting from plain CGI to mod_perl

2001-10-17 Thread Walt Knowles
All, I'm sure that this is covered somewhere in the documentation or on this list, if I could just find the right way to ask the question. So please feel free to send me off to read something. I currently have a web system with an architecture like this: ++ | UI CGI scripts (foo.p