Download sample application - UserCustomizationsSession.zip. In order to implement persistence of user changes during active session, just go to ViewController project properties and in ADF View section set Enable User Customizations For Duration of Session.
Thats it, pretty straightforward. Now how it works - let's open page with Query Criteria and results table:
First column is FirstName, second column is LastName - let's swap those columns and put LastName column as first:
Press Close button to return to Index page:
As it was working before, if user will open same page with Query Criteria and results table, FirstName would be again as first column. But now, since we have enabled User Customizations and it works - as first column will remain LastName: