Hi,
I have an interactive application that lets users build and save complex queries as XML files in the database. When the user adds (or deletes) a parameter to one of the queries, I update the XML file, then re-direct to the code that reads the XML file and presents the updated query. Sometimes, the update is not seen and I have to refresh the browser window to see it. I assume that this is because the XML document is not actually updated in time for the next request, so the older version is seen instead. Is there an elegant way to solve this? I already tried putting the update and the read in separate transaction, but that did not help. I really need to wait until the XML file is definitely updated. Of course, I could increment a counter in the XML file, and reject reading it until I detect a higher number than the value it had before the update, but that seems a real kludge. Any better ideas? Neil.
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
