RE: [PHP-DB] what is connection id?
| From: | Steve Brett | Date: | Wed, 14 Mar 2001 16:14:09 +0000 |
| Subject: | RE: [PHP-DB] what is connection id? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7455@lists.php.net to get a copy of this message | ||
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:fai5@hknet.com]
Sent: 14 March 2001 16:14
To: php-db@lists.php.net
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: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net