permanent db connections
| From: | andy | Date: | Thu, 19 Sep 2002 13:47:26 +0000 |
| Subject: | permanent db connections | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21849@lists.php.net to get a copy of this message | ||
Hi there,
I am tring to locate some errors which pop up once in a while.
Now I have tracked them done to a point where permanent db connections could
be involved. Every Page in my system where a db (mysql) is involved connects
to the db server. This seems to be the reason why in some cases the values
pulled out of the db re not pressent. I did outcomment the connect statement
and the db connection still works. But why??!!
What would be a propper way to deal with the connect statement. I know that
persistant connects are faster and my system supports them. But what is a
persistant connection anyway? Is is persistant when the user is browsing all
the sites in my sytem? And when do I have to build the connection?
Thanx for any help on that,
Andy