too many connections
hi,
i created a dynamic site with dreamweaver however i only ahve about 10 users logged in at any one time however they are getting the too many connections error in connection file thrown up.
i checked with the host who said it has a max of 25 connections and this is more than enough.
i read a bit on the net and say that you can just remove the pconnect that the connection file has.
why does dreamweaver create the connection file like this and what are the advantages/disadvantages of having the pconnect removed?
i have currently this line in my connection file:
$conn = mysql_pconnect($hostname_conn, $username_conn, $password_conn) or trigger_error(mysql_error(),E_USER_ERROR);
do i just change it to this:
$conn = mysql_connect($hostname_conn, $username_conn, $password_conn) or trigger_error(mysql_error(),E_USER_ERROR);
?
many thanks
