Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 11, 2012 10:47 AM by saffy
Jan 11, 2012 03:41 AM|LINK
In one of our requirement we are facing some issue, wish to know your suggestion.
We have a Common Static class which we use to read,write and update xml files.
This class consists of static varables that holds XML document and other objects
In some situations where we have more users accessing the site, some XML file content is deleted and replaced with error message or simply delete entire data in XML file.
1) Can we use this kind of Static class for read, write or update XML files, having one Static XMLDocument object.
2) Or its suggested to use different XMLDocument object for all read, write or update commands.
Jan 11, 2012 04:32 AM|LINK
Static things are always risky. According to me use the second option
Jan 11, 2012 10:47 AM|LINK
Thank u for your reply.