Link to home
Start Free TrialLog in
Avatar of Eddie Shipman
Eddie ShipmanFlag for United States of America

asked on

Timeouts

We have a system where you can purchase seats in classrooms. We have a good way of checking if seats exist at checkout but we want to implement a "reservation" system where a user "reserves" a seat when they add it to their cart but it doesn't actually "purchases" the seat until they checkout.

In doing this we want to implement a timer where we can notify them if they went over the limit. How would I be able to do this using javascript if they decide to venture off the cart page?
Is there any way for us to "remember" the timing for that customer? I know places like TicketMaster does this sort of thing but how do they implement it?

Our backend is PHP. We communicate to Oracle through a .Net webservice using the nuSoap classes in our PHP scripts.
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rob
and also store the time when the seats expire on the server in the case the user doesn't do anything with their cart