>>>>> "PH" == Perrin Harkins <[EMAIL PROTECTED]> writes:

PH> Don't open a connection during startup.  If you do, it will be shared when
PH> Apache forks, and sharing a database handle is bad for the same reasons
PH> sharig a file handle is.  Open a connection in the child process instead.

Speaking of which, what does one do when Apache::DBI is loaded, and
the parent process needs to pull some config info out of the database
that all clients also use?  That is, how can I force Apache::DBI to
close that handle prior to the forking of children?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: [EMAIL PROTECTED]       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

Reply via email to