Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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 :-p) 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

Posted

[

 

thx for the answer. i wanted to use AJAX for communication between users. with this I mean asp.net without page reload. but i see that i don't actually need xml.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...