I have an SQL table which holds all assignments for all users on the site, and these assignments can be completed/re-opened/edited/deleted if you have the necessary permissions. I'm displaying these assignments to each user in an HTML table with AJAX pagination and sorting, and what I'm trying to achieve is to display the data as it was on a specific page load.
As it is currently, since the data can be changed at any time, when you go to the next page (or change the sorting) you might get unexpected results (data you've already seen, or even no data at all). Another problem here is that the user can interact with these assignments (complete/delete via AJAX), and I want to take these changes into account for the current page load (and any subsequent ones), but not for anyone who opened the page before these changes occurred, they should see the data as it was on their page load.
I hope this makes at least some sense. Does anyone have an idea how this could be accomplished? I'm not looking for complete solutions, a nudge in the right direction would be more than enough. Thanks!