This is what I've got from a line at includes/db.php file:
$db = new sql_db($dbhost, $dbuname, $dbpass, $dbname, false);
The last parameter "false" indicating the db will be connected as non-persistent connection. If you having problem with that, you can set it as "true" to connect db using persistent connection (db won't closed even if the http requests terminated), and vice versa.
Joined: Jul 18, 2003
Sun Aug 08, 2004 12:33 pm
thanks a lot
ill give a try.
There are a couple of additional caveats to keep in mind when using persistent connections. One is that when using table locking on a persistent connection, if the script for whatever reason cannot release the lock, then subsequent scripts using the same connection will block indefinitely and may require that you either restart the httpd server or the database server.
is there any issue relaited to this locking i need to worry about?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum