From: Jeff D. <da...@da...> - 2002-02-26 19:18:19
|
Marcel van der Boom said: > But (at least in the PN module version) the instructions of the > error message are wrong. When hitting the back button, the page is > retrieved from the db again, so the last changes are lost. (maybe that > is the error). Yes. That's a function of the cache-control HTTP headers sent by PHP. This started happening when we starting using PHP's session support. It's now been fixed (in the main PhpWiki CVS) by doing a session_cache_limit('none'); before the first call to any other session handling functions. Also note that (though I haven't played with it yet, so I might have details wrong) Lawrence has added "merge conflicting edits" functionality to the latest CVS version of PhpWiki: If you try to save your edits, when there has been an intervening save by another user, you get returned to the edit form, but the text in the edit form will contain the latest changes merged with your changes. You can simply hit "save" again to save the merged version, if that's what you want. I think that ought to solve most problems arising from simultaneous edits... |