Hi i am trying to use php to connect to an IBM AS400 system i can connect but it seems to take ages to return any information. it appears to be trying to make a new connection each time.
i am using the following to connect.
<?
$host = "LAWSON01";
$username = "*******";
$password = "********";
$link = odbc_pconnect($host, $username, $password,SQL_CUR_USE_ODBC)
or die (odbc_errormsg() );
?>
is there anyway i can improve this as users will not use the system with a 10 - 15 second delay before each page is displayed.
it looks like an odbc_close() is happening after every page is served. is there any way to avoid this