Re: lock web page when editing

From: Date: Sat, 29 Sep 2001 22:30:32 +0000
Subject: Re: lock web page when editing
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-69325@lists.php.net to get a copy of this message
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 @yahoo.com address at http://mail.yahoo.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#69325) next »