I want to work in the following scenario, I know that I have to use a transaction in this, but not clear how to procede:
Consider that there is online booking of some special event, and there is 100 tickets for the same. Now, 99 tickets have been booked and I am 100th person to book the ticket, and i have filled up all my credit details but I haven't click button to proceed it. Meanwhile some other person visits the site to book a ticket, what can we show to other person at this moment? What should be proper method to procede?
Thanks,
Himanshu
View Complete Post