php-general | 2001092
Date: 09/29/01
- Next message: Mark Charette: "Re: [PHP] Re: Search "all" in mysql"
- Previous message: Bonnie Woolley: "[PHP] Calculations from form variables"
- In reply to: Bob: "[PHP] lock web page when editing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Lock it as soon we they check it out for editing. Unlock it when they
save it. Create a "take lock" feature that allows someone else to take
the lock... this will solve the problem of someone leaving it locked and
going to lunch since that second person can call them and see if they are
there, and if they aren't, they can steal the lock.
Then when the first person comes back to save their changes they will get
an error message saying they no longer have the lock...
that leave's the resolution of whether a page is locked or not up to
physical human interaction...
-philip
On Sat, 29 Sep 2001, Bob wrote:
> hi
>
> just seeing how everyone would approach this problem.
>
> i'm building a content management system and many people can edit a web
> page. if someone clicks on "edit" for a web page then i want to lock
> that page and not allow anyone else to "edit" the same page until the
> first person is done. how would i be able to tell if that first person
> is still editing or they have left??? if they close the browser then
> the web page would be locked forever. how do i get around that?
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free <email protected> address at http://mail.yahoo.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mark Charette: "Re: [PHP] Re: Search "all" in mysql"
- Previous message: Bonnie Woolley: "[PHP] Calculations from form variables"
- In reply to: Bob: "[PHP] lock web page when editing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

