call to db-server never returns
Posted on 2015-02-09
Hi, have a Website with an iFrame PHP Programm. This program is getting data from IBM-Navision Server. The call to the Navision Server ( i did not program this) tends to not come back if something is not correct in the call parameter (eg. data not in DB).
Here is the code:
$ibm = new SoapClient($ibm);
// call Navision
$result = $ibm->request($params);
// if the call hangs - we will never get control back
Is there a easy way to get control back after a few seconds?