Posted by Angelos on 11/15/05 12:12
> Instead of setting a flag, set a timestamp. When user A opens the document
> for
> editing, set the "editing" field to "2005-11-15 10:31:23". Then you decide
> for
> a editing timeout. Say 30 minutes. If Usser A saves the document, the
> field is
> cleared and the document is open for editing again. If user A doesn't
> close it,
> it will return to being editable again if the timestamp is older than 30
> minutes.
Oh thanks for that, Simple and effective sollution ;-)
[Back to original message]
|