Online Hotel Booking System, Simultaneous Booking?

Posted by KiiroSora09 on Stack Overflow See other posts from Stack Overflow or by KiiroSora09
Published on 2011-11-25T01:36:05Z Indexed on 2011/11/25 1:52 UTC
Read the original article Hit count: 117

Filed under:
|
|

I'm asked to create an online booking system with online payment and I'm wondering what to do in the case when 2 customers booked for the same room(s) at the same time.

For Example:
At the same time:

Customer1 and Customer2 booked for a standard room which only has 1 room available. (The Room availability will display that there is still 1 room available). And then they hit the 'confirm' button at the same time.

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript