Reply to Multy User CMS Problem !!! Any Ideas ?

Your name:

Reply:


Posted by Angelos on 11/15/05 11:10

Hello, I am developing a CMS and I would like add the following
functionality:
- User A logs in.
- User B logs in.
- User A Edits page X
- User B Is informed that User A is loged in and edits page X so user B is
not able to edit page X until user A saves the page.

Ofcourse that's not so difficult if you set a flag in the database
for example that the current document is being edited, and remove the flag
when the user saves the document and exits.

BUT what happens if user exit the editing page without folowing any link or
submit button that I can control. What happens if his computer
restarts/crashes or he kills the browser or if his internet connection fail.

Database will have the document flaged as being edited by User A.

Do you know any good way of avoiding that problem or if you don't already
know, can you think of something similar ?

Thanks Angelos.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация