>
> But isn't there a risk of a race condition because of the asynchronous 
> updates?  What happens if the user clicks the delete button and immediately 
> clicks the next page link?
>

I suppose it's possible for the request for the next page to be served 
before the delete operation completes, but probably very unlikely given how 
long it would take to go from clicking the delete button to clicking the 
next page link. Actually, it would probably be better to serve the next 
page request before the delete anyway -- otherwise the next page will 
probably be missing what should be the first record because the new query 
will assume that first record was actually the last record of the previous 
page (because of the deleted row).

Anthony 

Reply via email to