Hi

I was wondering how do you implement the concept of holding a registration of an event or a booking?

For instance, when you try to book a hotel room or a try to book a air ticket online, they hold your registration for say 10 or 15 mins, during which the room or seat will be locked for that time and once the time expires, they release the holding.

A real life example would be events hosting on eventbrite

Code:
http://collaboratemumbai-ehometext.eventbrite.com/
How do we implement the same concept in an PHP application?



Any help will be greatful.


Thanks