S
Shawn
Hi.
I have a webservice method that receives an XmlNode. It then loads an
existing xml file into an XmlDocument, appends the new XmlNode to the
XmlDocument and saves it back to the xml file. But what if another user is
doing the same thing at the same time? I did a test and found out that the
file is not automatically locked. Which means that the second user
overwrites the changes the first user made. Any ideas on how I can prevent
this?
Thanks,
Shawn
I have a webservice method that receives an XmlNode. It then loads an
existing xml file into an XmlDocument, appends the new XmlNode to the
XmlDocument and saves it back to the xml file. But what if another user is
doing the same thing at the same time? I did a test and found out that the
file is not automatically locked. Which means that the second user
overwrites the changes the first user made. Any ideas on how I can prevent
this?
Thanks,
Shawn