note 97764 added to mongo.construct

From: Date: Thu, 06 May 2010 21:17:01 +0000
Subject: note 97764 added to mongo.construct
Groups: php.notes 
Request: Send a blank email to php-notes+get-169030@lists.php.net to get a copy of this message
The behavior of persistent connections is somewhat mysterious, but it appears that they remain for the duration of the process with some internal timeout value, and not until the end of script execution as you might expect based on the wording here and in close(). That is, the connection will remain open even once every object that used it is out of scope and can be accessed again with the persist key. This is consistent with the way e.g. DBI does things, but still somewhat confusing when not made explicit. A related issue is that under certain conditions php seems to open multiple connections even using the same key, but that's more of a bug report. ---- Server IP: 69.147.83.197 Probable Submitter: 72.229.246.82 ---- Manual Page -- http://www.php.net/manual/en/mongo.construct.php Edit -- https://master.php.net/note/edit/97764 Del: integrated -- https://master.php.net/note/delete/97764/integrated Del: useless -- https://master.php.net/note/delete/97764/useless Del: bad code -- https://master.php.net/note/delete/97764/bad+code Del: spam -- https://master.php.net/note/delete/97764/spam Del: non-english -- https://master.php.net/note/delete/97764/non-english Del: in docs -- https://master.php.net/note/delete/97764/in+docs Del: other reasons-- https://master.php.net/note/delete/97764 Reject -- https://master.php.net/note/reject/97764 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#169030) next »