note 39945 added to function.mysql-insert-id
| From: | giova at bellatlantic dot net | Date: | Mon, 16 Feb 2004 17:17:38 +0000 |
| Subject: | note 39945 added to function.mysql-insert-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65225@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.mysql-insert-id.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39945
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39945&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39945&report=yes
Search -- http://master.php.net/manage/user-notes.php