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
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 from
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
[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 cake,
but
I've run into one big issue. Depending
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:
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 you