Uups, forgot to send my answer to Bret to the list too.
Sabine
--- Begin Message ---
Hello Bret,
I think Terences solution is good, if you have a lot of concurrency on
your documents.
But if the concurrency is less and it is unlikely that 2 people edit the
same document at the same time, I'll
We use a combination of timeout and user who has locked the record in a
form e.g.
User A opens the form. A record id is stored in the page and the db
record has 3 cols -> is_locked (y/n), locked_by (user_id) & locked_time
(datetime)
B then opens the form.
If the record is locked & more then
Since you can't be sure to be notified when a user stops editing a
page, whatever solution you choose will probably involve some sort of
timeout-based system. (e.g. when someone starts editing a page, set a
"last_opened" time field on the resources, and when someone else tries
to edit the same pag
3 matches
Mail list logo