ID: 30785
Updated by: [EMAIL PROTECTED]
Reported By: chubchik at inbox dot ru
-Status: Feedback
+Status: No Feedback
Bug Type: Apache2 related
Operating System: RH Linux 9.0
PHP Version: 5.0.2
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2004-11-17 21:32:17] [EMAIL PROTECTED]
Again, please provide short but complete and working example script.
------------------------------------------------------------------------
[2004-11-17 21:17:36] chubchik at inbox dot ru
<?
class xxx{
public function __construct($host,$user,$password,$db)
{
register_shutdown_function(array(&$this,"db_transaction_cancel"));
Ignore_User_Abort(True);
}
......
public function db_transaction_cancel()
{
if(connection_aborted()){
$this->transaction_canceled = true;
$this->raise_notice('Abbruch durch Browser:
'.connection_aborted());
$this->__destruct();
}
}
}
?>
------------------------------------------------------------------------
[2004-11-14 23:13:07] [EMAIL PROTECTED]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2004-11-14 22:11:25] chubchik at inbox dot ru
Description:
------------
connection_status and connection_aborted not working.
i tryed all posible scripts for both functions, but it returns always
0, but 1 should
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30785&edit=1