Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Concurency control #17

Open
scribu opened this Issue · 0 comments

1 participant

@scribu
Owner

FEE could have a mechanism that signals when user A is about to overwrite a change that user B made in the meantime.

get XHR response:

{
content: '...',
hash: 'x12'
}

save XHR message:

{
new_content: '...',
hash: 'x12'
}

save processing:

$old_hash = md5( $old_content );
if ( $old_hash != $received_hash  )
    die( 'Content changed in the meantime' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.