Q: request shutdown in a php module
| From: | Jean-Pierre Arneodo | Date: | Fri, 17 Mar 2000 20:57:43 +0000 |
| Subject: | Q: request shutdown in a php module | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16964@lists.php.net to get a copy of this message | ||
Hi,
I am writing a php module using Oracle.
I have a PHP function StartTransaction()
and I want to write the request shutdown in the php3_module_entry.
In function directory, I've seen the handlers for ora8, oracle, sybase.
and I don't find what I want.
I want to handle transactions started without commit or rollback called
in the
php script.
In this case I want to commit the transaction;
What's happening when the script terminate before the end,
like by a fatal error or a timeout?
Is the request shutdown called?
How can I see the difference between a normal shutdown and a
shutdown with problems.
In the last case I want to rollback the transaction.
Thanks.
Jean-Pierre Arneodo
http://www.midgard-project.org/