The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Limiting the process to run by 1 user only ?
Hello,
I have coded a custom mod. in that there is a process like.. PHP Code:
so the problem is when 2 ppl do it as same time.. 2 identical bids are placed by 2 differnt users how can i avoid such a problem ? thank you |
#2
|
|||
|
|||
Not really sure what your trying to achieve, but I'll try to answer based on what you've shown here.
One option is that you could use record locking in your database and then use php to check if the record is locked due to concurrent users and send to an error/alternate page. Another option is that you may have to play around with sessions/cookies and there is plenty of example code for this via Google search. I'll have a peek and see what I can dig up for you. |
#3
|
|||
|
|||
Hi thanx ranz.
its basically a Auction System and this is the Bid Process So the problem i occur is that when 2 ppl place bids at the same instant of time. then two identical bids are placed. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|