Here is an interesting question:
 
To save coding time, what would happen if you put a mysql_pconnect to a
database for a web site on every page of a web site? because it is a
pconnect, would it always reuse the open connection? Does mysql have an
open connection limit? what if you put a mysql_close() statement at the
end of every page? I am trying to avoid making that data connection
every time I need to run a query becaus eit envolves a good amount of
code. Any thoughts?
 
Matt Babineau
MCWD / CCFD
-----------------------------------------
e:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
p: 603.943.4237
w:  <http://www.criticalcode.com/> http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
 


Reply via email to