Hi Niyogi. Thanks for your help.
I looked at the php setup, and found the following (values are the same for local and master):
pgsql.allow_persistent - On
pgsql.auto_reset_persistent - Off
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
Here's the code I'm using to connect with (this is the file conn.wms_admin.inc.php):
include_once("wms/_classes/adodb/adodb.inc.php");
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;
$conn = &ADONewConnection("postgres");
$conn->PConnect("localhost","wms_admin","***************","unbc");
This code is called through the following on any page where I need to access the database:
include_once("wms/_classes/adodb/conn/conn.wms_admin.inc.php");
and then I simply access the $conn object and do what ever I need to do.
Is there a problem in the way I'm doing this?
Thanks in advance,
Pablo