Re: best practie for open and close connection database

Felipe de Jesús Molina Bravo <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
El 21 de abril de 2010 17:33, Chris Bennett
<[email protected]>escribió:

> On 04/21/10 11:33, Felipe de Jesús Molina Bravo wrote:
>
>> Hi
>>
>> In my application, I opened my database from authentication handler and
>> close it from child exit handler. It is correct (is a best practice)? or
>> is a bad design?
>>
>> where i can read for best practice for it?
>>
>> thank's
>>
>>
>>
>>  Are you using Apache::DBI?
>

no ....

Is it a local database server or remote?


remote


> Are you almost always using the same database and user? Or mixed?
>

yes... I have a connection pool in database server (pgbouncer + pgsql 8.4 i)


thanks to all for your answares
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.