Hello,
Is it possible to add a node to an XML file without having to get the entire contents of the xml file in to a string or XMLdocument in your code and then write everything back to the XML file?
i ask this question because(read carefully ) when there are more then 1 users at the same time. then one user would get the contents of the XML file and put it in to his XMLdocument object in code.... and then the second user would to the same.... BUT the first user will edit the XML document and write back to the XML file. NOW the second user will do the same thing BUT the added node of the first user will no longer exist because the second user got the contents of the xml file before the first user wrote his changes to the xml file.
can anyone help me solve this problem?
(is there even a way to solve this problem?)
thx,
inter
Is it possible to add a node to an XML file without having to get the entire contents of the xml file in to a string or XMLdocument in your code and then write everything back to the XML file?
i ask this question because(read carefully ) when there are more then 1 users at the same time. then one user would get the contents of the XML file and put it in to his XMLdocument object in code.... and then the second user would to the same.... BUT the first user will edit the XML document and write back to the XML file. NOW the second user will do the same thing BUT the added node of the first user will no longer exist because the second user got the contents of the xml file before the first user wrote his changes to the xml file.
can anyone help me solve this problem?
(is there even a way to solve this problem?)
thx,
inter