I'm writing a rich client and I'm facing the need for a long lived lock, that is, a lock that disallows data editing as long as the user is in a certain screen, because the effects of two user eding the same data would be disastrous (the screen in a data flow graph editor).
Since services are stateless, I'm wondering, how do you manage long lived lock? With an application level table that lists the ID's of the lock object and an expiry date?


Reply With Quote