Welcome Guest, Not a member yet? Register   Sign In
prevent multiple simultaneous page editors
#5

[eluser]janogarcia[/eluser]
Quote:The big problem is working out when someone’s buggered off mid-edit, leaving your page locked - and some automatic, periodic mechanism to reset that flag so the page can be edited again.

With the "DokuWiki approach" you wouldn't need a cron script to check your locks table. You would simply need to check two conditions to know if some piece of content is locked: "Is the content_id in the locks tables?" AND "Was its timestamp generated less than 15 minutes ago?"

What you should decide is whether this basic collaborative editing management meets your project requirements.


Messages In This Thread
prevent multiple simultaneous page editors - by El Forum - 03-09-2009, 02:58 AM
prevent multiple simultaneous page editors - by El Forum - 03-09-2009, 05:14 AM
prevent multiple simultaneous page editors - by El Forum - 03-09-2009, 05:37 AM
prevent multiple simultaneous page editors - by El Forum - 03-09-2009, 05:46 AM
prevent multiple simultaneous page editors - by El Forum - 03-09-2009, 05:54 AM
prevent multiple simultaneous page editors - by El Forum - 03-09-2009, 06:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB