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:[EMAIL PROTECTED]
Sent: Friday, July 30, 2004 11:09 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to