Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 20, 2009 05:38 PM by CurtisJL
Nov 20, 2009 05:38 PM|LINK
I'm not sure where to start on this both code wise and where to post in this forum so I thought I would start here.
I am creating an online student registration system that allows students to register for classes online. This registration needs to lock out the class that they choose and/or have a 20 minute time limit to finish the registration or this class, after which
time the user has to start over and reselect the class.
Now I was thinking of something with the DB and holding the class for 20 min while the user is finishing registration and I know you can create a trigger or something on the DB end to release the class after 20 min but if the user closes the window after
say 10 seconds from selecting the class I don't wont it held for 20 minutes when nothing is happening to it.
The other option I was thinking of was doing a timed event on the page, as soon as they select the class they have 20 minutes to finish but doesn't lock out the class, so if there are 20 seats available potentially 21 can sign up but whoever is last on the
registration finish line will get denied.
Has anyone done something like this, and if so what steps or procedures did you use to implement? I'm not looking for code but best way to handle this scenario. I am using the Wizard control so far as well for the step by step process.
asp.net 3.5 C#