I think you need some AJAX to ping the server with the post_id when someone
open the post for edit.
You need to ping every X second.
When someone else trying to open the post for edit you check the ping table
and if the post is in edit mode you can disable the last user edit button.
you can even tell him how is editing the post.
You need to check the ping time stamp and if it didn't updated for X*2
second you should delete the row from the ping table.

Never did it myself and I am sure more issues will popup but it should work.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to