Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Scratchpad (Edit)/Personal Nodelet (add to scratchpad) : Lost update problem

by ysth (Canon)
on Jun 30, 2004 at 03:01 UTC ( #370672=note: print w/replies, xml ) Need Help??


in reply to Re: Scratchpad (Edit)/Personal Nodelet (add to scratchpad) : Lost update problem
in thread Scratchpad (Edit)/Personal Nodelet (add to scratchpad) : Lost update problem

I'd lean toward just bailing out with a "Warning! Scratchpad has changed since editing began; return to display view or Submit again to override" if the update detects that the scratchpad was changed from how it was when the edit page was generated. Two ways to detect this: checksum or hidden field with the original content; which is better?
  • Comment on Re^2: Scratchpad (Edit)/Personal Nodelet (add to scratchpad) : Lost update problem

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://370672]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2021-01-19 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?