[PHP] Using odbc_pconnect function

2002-12-09 Thread Luc Roettgers
Hi, Trying to use persistant connections to reduce general access times on my tables, I have the following problem. When creating my connection with: $connectionstring = odbc_pconnect(prov,username,pass); I'm able to use it on the current page but how do I resuse the variable

Re: [PHP] Using odbc_pconnect function

2002-12-09 Thread Adam Voigt
I believe everything you have mentioned is automatic. You don't need to pass $connectionstring since PHP detects it's the same info and just sends you the same connection. Also, I believe PHP auto-closes after a certain amount of time (might be configurable, check the php.ini). On Mon,