[Pmwiki-users] Drawback with simultaneous editing

chr@home.se chr
Sun Oct 31 13:02:58 CST 2004


On Sun, 31 Oct 2004, Patrick R. Michaud wrote:

> Hmm, it works in my browser (Firefox 0.9), no problem. 

Works in Netscape 7.x as well, and judging by the long time it takes it 
does no caching at all.

> But then again, my browser doesn't appear to be caching the page
> (indeed, the fact that your browser *is* caching the page indicates that
> it's not honoring the HTTP protocol standards).

Might be... it's a pity though, since it's much quicker.

> > Would it be possible to have a fix for this special case? I.e. when it's 
> > the person who just edited the page that uses 'back' to edit it again?
> 
> Might be possible.  How would PmWiki know that it's "the same person"?
> (IP address doesn't work because of proxies/firewalls/NAT issues.)

Could we embed some 'edit-id-number' in the page that is submitted with 
the rest of the edit date. Then if pmwiki sees that two 'saves' are being 
done consequetively with the same 'edit-id-number', it assumes it is an 
overwrite?

I guess a drawback with this is that the saved page in wiki.d/ needs to 
keep track of the last 'edit-id-number'.

I'm not sure if this is worth it though. The big advantage to me is that 
it's faster, which takes caching of course.

/Christian

-- 
Christian Ridderstr?m, +46-8-768 39 44               http://www.md.kth.se/~chr




More information about the pmwiki-users mailing list