anotherday
Programmer
THE PROBLEM:
I have a page called (update.cfm). I don't wanna allow more than one user to open that page at the same time from anywhere in the world.
The page consists of some fields (text boxes) and two submit buttons (Update, and Cancel). I tried to use a field called (InUse) as the following:
When someone opens that page, the field 'InUse' will hold the value 1 to denote that the page is in use by someone. And when that one clicks Update or Cancel, the field will hold the value 0 to denote that there is no one uses the page now. But the problem is that the user can use the X button to close the website directly, and then the field will be holding the value 1 instead of 0.
Can you help me to do that?
I have a page called (update.cfm). I don't wanna allow more than one user to open that page at the same time from anywhere in the world.
The page consists of some fields (text boxes) and two submit buttons (Update, and Cancel). I tried to use a field called (InUse) as the following:
When someone opens that page, the field 'InUse' will hold the value 1 to denote that the page is in use by someone. And when that one clicks Update or Cancel, the field will hold the value 0 to denote that there is no one uses the page now. But the problem is that the user can use the X button to close the website directly, and then the field will be holding the value 1 instead of 0.
Can you help me to do that?