Using persistent connection to database
| From: | Berlina | Date: | Mon, 17 Dec 2001 15:13:23 +0000 |
| Subject: | Using persistent connection to database | ||
| Groups: | php.dev php.general | ||
| Request: | Send a blank email to php-dev+get-74137@lists.php.net to get a copy of this message | ||
Hi to everybody,
first sorry for my poor english.
im trying to use persistents connections to an Oracle Database through PHP,
for manageing transactions, and have some problems.
My Schema:
* Web Server: Apache 1.3.20 on a Linux RedHat 7.0
* PHP: 4.0.6 compiled with oracle module functions (ora_*)
* Data Base: Oracle 8.0.5 on a Windows NT Server
I need to manage transactions to database. For it i made a test pages like
this:
1 index paga that generate some frames and open a persistent connection to
the database
1 frame that made an insert to one table of the database
1 frame that made an insert to another table of the same databese
1 frame with 2 buttons, one for execute a Commit and another for execture a
Rollback
Some times works well, but other times not work correctly...
What im doing wrong?
Can somebody help me?
Avanced thanks