RE: RE: [PHP] php mysql--mysqli persistent connections...
| From: | bruce | Date: | Fri, 30 Jul 2004 18:33:07 +0000 |
| Subject: | RE: RE: [PHP] php mysql--mysqli persistent connections... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192337@lists.php.net to get a copy of this message | ||
never worked with them....
but i'm getting close in an app that i believes requires them...
i'm going to need to do transactional processing across multiple pages for a
test app. i was looking at the mysqli functions which work for the
rollback/commit which is ok. but it's my understanding that once the page
closes, the db connection is lost, which would trigger a rollback of any db
queries/processing currently in process. however, if i had a persistent
connection, then the connection should be open, and the rollback shouldn't
be triggered, and the app could proceed with the db processing, followed by
a commit!
at least this was the plan, until i couldn't find the persistent hook within
mysqli...
what am i missing..??
-bruce
-----Original Message-----
From: John Holmes [mailto:holmes072000@charter.net]
Sent: Friday, July 30, 2004 11:09 AM
To: bedouglas@earthlink.net; php-general@lists.php.net
Subject: Re: RE: [PHP] php mysql--mysqli persistent connections...
> php/mysql supported persistent connections..
Have you ever used persistant connections. I don't think they work the way
you are thinking. Persistant connections rarely had any benifit except in
certain server configurations.
---John Holmes...
UCCASS - PHP Survey System
http://www.bigredspark.com/survey.html