MDB : Sequences
| From: | Vincent DUPONT | Date: | Mon, 08 Dec 2003 11:10:51 +0000 |
| Subject: | MDB : Sequences | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9358@lists.php.net to get a copy of this message | ||
Hi all, I have a question about MDB sequences
When I create a sequence in a PHP script, is this sequence the same for every session. What happen
if two users (so, 2 independant sessions or pages) request the nextId for the same sequence ?
My understanding is that the sequence is a PHP object, not a Database object. How can the Sequence
handle the nextId accross all pages and all users (browsers) without providing the same ID twice?
any email or link is welcome.
Vincent