Charles Whitaker wrote:
Using persistant connections simply means that you will be given a
connection from a pool of open connections rather than creating a new
one each time. There is no guarantee you'll get the same connection
from request to request.
Right. I had assumed that I would get
Charles Whitaker wrote:
Since I'm requesting persistent connections, why don't I get the same
connection each time? Or, to ask it another way: I notice that the
number of threads slowly increases as I continue to access records --
why would this happen if I'm using persistent connections? I
Greetings,
I'm developing a tech support log using php and MySQL. Users will
add, delete and modify records. In fact, it's fully implemented
except for concurrency control. I'm trying to use get_lock and
release_lock to implement record-level locking, but when I go to
release the lock, the
the connection_id in other page. May be using PHP4 Sessions.
HTH.
Jayme.
-Mensagem Original-
De: andrie [EMAIL PROTECTED]
Para: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Enviada em: sexta-feira, 23 de maro de 2001 20:38
Assunto: [PHP-DB] connection id
Hello php mania,
i
Hello php mania,
i was connecting into mysql using mysql_connect, and i just saved
the return value from this funtion. now i want to use this connection
id in the other page so i dont have to connect into mysql again.
is it possible for me to do that ?
anybody could tell me the
Does any body know why the connection id in mysql will increase when you
exit the mysql and login again? But I think the connection id should be
cleared when user exit mysql.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,