A
Anonymous
Guest
Hi,
I am implementing a multi-user Content Management System in PHP MySQL. After logging in, users will be presented with the structure of a site and they will be able to edit the content using a rich text editor.
The problem is that more than one user can request a page to edit in the same time so modifications might be lost - last update will be valid. I need a way to lock pages and not allow concurent requests to edit the page while locked.
Do you know how can I do this? Any ideeas?
Thanks
I am implementing a multi-user Content Management System in PHP MySQL. After logging in, users will be presented with the structure of a site and they will be able to edit the content using a rich text editor.
The problem is that more than one user can request a page to edit in the same time so modifications might be lost - last update will be valid. I need a way to lock pages and not allow concurent requests to edit the page while locked.
Do you know how can I do this? Any ideeas?
Thanks