[PHP] Concurent requests

2001-03-09 Thread Daniel B I
Please, any idea how to manage concurent requests, for example like in a shopping cart? Scenario: 1. I have a counter A (a field in a database row), set to 1, so A=1 2. A client wants 1 unit from A , it checks and it's OK, there is available. 3. Another client wants 1 unit from A, it

Re: [PHP] Concurent requests

2001-03-09 Thread Carsten Gehling
From: "Daniel B I" [EMAIL PROTECTED] Sent: Friday, March 09, 2001 1:49 PM Please, any idea how to manage concurent requests, for example like in a shopping cart? snip Any idea how to fix this transaction problem? If A is locked by the first client in order to fix this problem, there is