There's one thing, that I don't understand about permanent connections.

When will they be closed?
I could use a logout-page, but there is no garanty for the use of it.

Any explanation would be appreciated.

mOrP

> -----Original Message-----
> From: Ignacio Vazquez-Abrams [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 16, 2001 6:17 PM
> To: Sam
> Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Subject: Re: [PHP] Database Connections - permanent or something else?
> 
> 
> On Tue, 16 Jan 2001, Sam wrote:
> 
> > Hi,
> >
> > I have several web pages that are built with php and mySQL.
> > I use a new connection for each script.
> > Should I be using a permanent connection? Or is there a better 
> way around
> > this?
> >
> > Regards,
> > Sam Rose
> >
> 
> Persistent connections are more efficient in that they don't need 
> to open the
> connection each time. Unless you have an overwhelming need to 
> limit concurrent
> connections to your MySQL server, you should probably be using persistent
> connections.
> 
> -- 
> Ignacio Vazquez-Abrams  <[EMAIL PROTECTED]>
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to