php-general | 2001092
Date: 09/29/01
- Next message: Joe Kaiping: "RE: [PHP] lock web page when editing"
- Previous message: Bob: "[PHP] lock web page when editing"
- In reply to: Bob: "[PHP] lock web page when editing"
- Next in thread: Joe Kaiping: "RE: [PHP] lock web page when editing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Have a timeout?
Store in a database or something that the person has took the page out for
editing at X time... Then later when someone tried to edit the page your PHP
can check if either the page is not locked, OR 30minutes has passed since
the page was locked...
Andrew
----- Original Message -----
From: "Bob" <whyisityou2 <email protected>>
To: <php-general <email protected>>
Sent: Saturday, September 29, 2001 10:28 PM
Subject: [PHP] lock web page when editing
> 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: Joe Kaiping: "RE: [PHP] lock web page when editing"
- Previous message: Bob: "[PHP] lock web page when editing"
- In reply to: Bob: "[PHP] lock web page when editing"
- Next in thread: Joe Kaiping: "RE: [PHP] lock web page when editing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

