note 4785 deleted from mysql_pconnect by danbeck

From: Date: Thu, 07 Sep 2000 17:12:39 +0000
Subject: note 4785 deleted from mysql_pconnect by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-4414@lists.php.net to get a copy of this message
Re: Persistant connections. You are calling mysql_pconnect on each page load right? If not, I believe that mysql_pconnect will cause php to close the socket after the page has finished loading. (unless another client has that socket open). I could be wrong, but the main purpose of pconnect is so there are as few active connections open to mysql at the same time as possible. and on a side note: You can't keep a mysql connection in a cookie.

« previous php.notes (#4414) next »