I have a treeview that users can add nodes to. In some scenarios the users might be on the same tree. So the trees will not be in sync. I need to know some of the best theories to handle this, including:
1) Get the time stamp when the data was pulled from the database. If it differs when it tries to write back to the database, take the necessary steps.
2) Have a timer running to check the timestamp and if there is a difference, warn the user. Maybe do not allow the creation/deletion/addition of nodes if this is different.
If a difference is found, and a user adds a node, for example, I could interrupt that process and refresh the tree, and then allow the node to be added. This is a VWG "postback" so it will be smooth, but I am wondering if that is the best approach.
I am concerned about the overhead of timers. I think there is also some kind of server side push technology I have read about with VWG.
And I know there must be tons of theory on this.
Ideas?