note 39945 rejected from function.mysql-insert-id by vincent

From: Date: Mon, 16 Feb 2004 17:21:43 +0000
Subject: note 39945 rejected from function.mysql-insert-id by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-65226@lists.php.net to get a copy of this message
Note Submitter: giova@bellatlantic.net ---- I'm not sure of how is handle the "known problem" of auto increment in mysql from different sessions. If I remember correctly (and that what seems to happen to my application) if session A (what is it a session btw? if the backend of my application use the same database username, but I start different php sessions and I use mysql_pconnect, isn't that a unique db session?) insert a row and then session B insert another row in the same table does autoincrement work? It doesn't work for me now :-( Thanks, Gio

« previous php.notes (#65226) next »