You are here: Re: Multy User CMS Problem !!! Any Ideas ? « PHP Programming Language « IT news, forums, messages
Re: Multy User CMS Problem !!! Any Ideas ?

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 ;-)

 

Navigation:

[Reply to this 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

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