Preventing server errors - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Preventing server errors

I'm working on some XHTML code that allows viewers to add content to a page. It uses a server-side script to open an XHTML document, edit it and save it.

My concern is: what if you have two or more processors on the server? Would it not be possible for the document to be opened and parsed twice simulatenously, then saved back over itself?

I'm not an expert on server architecture, obviously! However, I do know that database software contains safeguards to prevent simulataneous editing of data. Is there an XML equivalent?


Sign In or Register to comment.