Re: best practie for open and close connection database
Chris Bennett <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Organization | Bennett Construction |
| Message-ID | <[email protected]> |
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? Is it a local database server or remote? Are you almost always using the same database and user? Or mixed?