AFAIK the connection id is a used by the server to identify the correct
connection.

if it reset itself there would be duplicate connections.

e.g. user 1 connects and gets connection 1.

user 2 connects and gets connection 2. then disconnects.

if the connection index was reset user 2 would get connection 1 again.

but what if user 1 is still using the system ?



-----Original Message-----
From: Fai [mailto:[EMAIL PROTECTED]]
Sent: 14 March 2001 16:14
To: [EMAIL PROTECTED]
Subject: [PHP-DB] what is connection id?


1. What is connection id? We will see this like "your mysql connection id is
12" when you enter into the mysql client programme.
2. Why will the connection id in mysql  increase when you
exit the mysql and login again? But I think the connection id should be
cleared when user exit mysql.

Thank you very much!



-- 
PHP Database 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]

-- 
PHP Database 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]

Reply via email to