Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
We don't bite newbies here... much
 
PerlMonks  

Re: Re (tilly) 2: Best way to handle locking of nodes being edited?

by Adam (Vicar)
on Feb 22, 2001 at 19:54 UTC ( [id://60322]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re (tilly) 2: Best way to handle locking of nodes being edited?
in thread Best way to handle locking of nodes being edited?

Would that message clear when the "other" editor stubmit's the edit? Also, 'x' becomes a variable timeout, right?
  • Comment on Re: Re (tilly) 2: Best way to handle locking of nodes being edited?

Replies are listed 'Best First'.
(tye)Re2: Best way to handle locking of nodes being edited?
by tye (Sage) on Feb 22, 2001 at 20:00 UTC

    In an ideal world, the list of people editing a node (in the case of editors) or replying to a node (for everyone) would get cleared out after a pretty long time (like an hour), if the edit/reply is ever committed, or if the editor/replier hits "Cancel" (a new button whose sole purpose is to remove you from the list of editors/repliers for a node, just out of courtesy).

    But a first stab at this could skip the last item in the list to save development time.

            - tye (but my friends call me "Tye")
      replier? I thought we were only talking about editors here, not replies.

      As for the need for people to be able to "cancel", we would want that regardless of how we do the lock, right? I'm not sure I like the varaible timeout though. I kind of like the consistency enforced by the server doing a pessimistic lock.

      As a side note, I assume that editors will be able to preview the edit before it gets submitted, right?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://60322]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.