mysql persistent connection...

From: Date: Sun, 11 Jul 2004 02:03:42 +0000
Subject: mysql persistent connection...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190164@lists.php.net to get a copy of this message
i'm trying to get a better understanding of how to implement persistent connections with mysql in either perl/php basically i'm trying to solve the issue of whether a web app has to essentially perform a new mysql_connect on every page that's going to be doing any database access. using mysql_connect apparently creates a resource id that gets destroyed when the web page is no longer being used... can the implementation of persistent connections resolve this issue, and how does the resourceID get passed from page to page.. i'm not able to get the Session vars to contain the resourceID... thanks... -bruce

« previous php.general (#190164) next »