RE: [PHP] db transactions across multiple pages...
| From: | bruce | Date: | Fri, 30 Jul 2004 21:23:17 +0000 |
| Subject: | RE: [PHP] db transactions across multiple pages... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192358@lists.php.net to get a copy of this message | ||
not sure if it's php/mysqli... but if you check the php.net for the "mysqli"
not "mysql" functions... you won't see the persistent attribute listed for
the php.ini attributes...
-bruce
you're learning more every day!!!!
-----Original Message-----
From: John Nichel [mailto:john@kegworks.com]
Sent: Friday, July 30, 2004 2:15 PM
To: php-general@lists.php.net
Subject: Re: [PHP] db transactions across multiple pages...
bruce wrote:
> we want to have the ability to perform db queries/actions with the db
across
> multiple pages.
>
> the pconnect supposedly allowed an app to use the same connection if one
was
> available. so an app would establish the connection on page 1, and page 2
> could use the same db connection... this is required as i understand it if
> you're going to do transactional processing, as once the connect dies, the
> actions being performed are rolled back if you haven't done a "commit"...
>
> -bruce
You're right...according to the docs, my understanding of what pconnect
did was wrong. I can't find where it says that this feature is going
away in php5 though.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php