Re: best practie for open and close connection database

2010-04-21 Thread Felipe de Jesús Molina Bravo
El 21 de abril de 2010 17:33, Chris Bennett 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? >> >>

Re: best practie for open and close connection database

2010-04-21 Thread Chris Bennett
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 Apach

Re: best practie for open and close connection database

2010-04-21 Thread Michael Peters
On 04/21/2010 12:33 PM, Felipe de Jesús Molina Bravo wrote: 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? Typically it's best practice to not close DB handles. That's why Apache