Hi Shane, > Actually, I'd be interested to know why the same connection is used for two > connections to the same database? > I'm guessing people could fall over this trying to do, say, unbuffered > queries through one to fetch a huge result set, and normal queries through > another to make changes....
nope... as i've said before, this is only a testing script, not a real one. I come across this testing when discussing about how many same persistent connection can be opened to mysql. I believe there will always be exactly only one same connection (same connection = same host and same username), regardless of using connect() or pconnect(). but then someone make a small testing, by doing 2 same pconnect() and printing the returned link_identifier, which surprisingly return 2 different id. -- Jimmy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There is no greater waste as a waste of time -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]