LockMonger
LockMonger will show you how to implement your own record-locking system, so one user can edit a record without worrying about whether other users are doing the same thing at the same time, possibly resulting in data corruption.
Unlike database solutions that store a flag in a record LockMonger works by storing information in an application-scoped array, so there is zero chance that two users can collide.
The download includes a test harness which will let you simulate record lock attempts and expirations. When you're satisfied it really works, just cut out the tag calls from the example app and work them into your own code. LockMonger even includes a miniature admin app that lets admins manually break locks if they need to do so.
Play With the Demo
Get It Now
|