>>>>Exactly how does your semaphore technique work? How does it
>>>>handle a person that opens a record and just leaves? How do
>>>>you handle the user that opens a record and instead of exiting
>>>>the program in the proper sequence just turns off his machine
>>>>leaving that record open?
>>>
>>>Because a semaphore does not represent a true locking, those situations will not represent a problem as long as we combine this with a timestamp and allow a certain time to update.
>>
>>Do you have a way of detecting wether a user is still on the network or not?
>
>We don't need to. We allow a user 12 minutes to update a record. If someone else try to get access to the update mode during that time, we will refuse it. However, the time can be smaller if the user save within the 12 minutes period. If the user save after 12 minutes, than we will only accept it if no one else get the update mode after 12 minutes.
I see, but you could still get the typical user complaints after
5 or 10 minutes, ( whiny voice ) "Why can't I save my record? I've
been waiting for 20 minutes."
Dan
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only