If I have mod_perl installed, will CGI's not running under mod_perl benefit
from Apache::DBI as well if they connect to the same database?

Mark W


> -----Original Message-----
> From: Shimon Rura [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 16, 2000 2:22 PM
> To: Pramod Sokke; [EMAIL PROTECTED]
> Subject: RE: DB persistence
>
>
> It seems to be starting a new connection each time.  If you want
> connection
> pooling, you should use the Apache::DBI module, which will transparently
> pool DBI connections for you.
>
> Shimon Rura
>
> > -----Original Message-----
> > From: Pramod Sokke [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 16, 2000 2:00 PM
> > To: [EMAIL PROTECTED]
> > Subject: DB persistence
> >
> >
> > Hi all,
> >
> > I think I misled everybody with my previous question on this
> topic. To put
> > it in simple words:
> > Apache 1.3.12/mod_perl 1.24/Solaris 2.7
> > I'm establishing db connection at server startup and the logs indicate
> > that's done. But in my subsequent calls to 'connect' in my
> scripts, I see
> > the same message "Establishing connection to
> PURCHASEDB:purchasedb" in my
> > webserver error log. Does this mean it's ignoring the already
> available db
> > handle and making fresh connections?
> > In other words, how do I make sure whether the original handle
> is used or
> > if a fresh connection is established?
> > Any help is greatly appreciated.
> >
> > Thanks,
> > Pramod
> >
>

Reply via email to