[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [xml] Multiple users for same XML file...



This is a locking issue, unrelated to XML. There are lots of Web sites
explaining file system level locking. Also see flock(2).

If you want to operate on nodes within a document, you have bigger
problems. I would recommend you move to a relation data model for the
storage of your configuration.

Gavin


On Wed, 12 Sep 2001, Gabriel Ambuehl wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Hello,
> I'm faced with the following: I have an XML based configuration file
> for a program and now I should write a CGI based webinterface to
> allow
> people to easily manage the behavior of the application. Now this
> itself isn't
> so much of a problem to do, but where I run into a wall is multi user
> access at the same time... I just can't figure out anyway to allow
> more than one user at at time to work with the data without having
> inconsistency problems. Has anyone ever done this before or is it, as
> I believe, impossible to do?
> 
> The only possible approach I see is to
> have an interface (I already use SOAP for other purposes) to the
> daemon that then can controls who operates on which objects and thus
> can "lock" them during that time to prevent data inconsistency...
> 
> 
> 
> 
> Best regards,
>  Gabriel
> B
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5i
> 
> iQEVAwUBO59ZnMZa2WpymlDxAQFreAf/XxV3FESuFIp/MdyJCRJ7LGDhXWJwlJ8o
> JUaj+AzkyYKFHQT8CbUGXACLlHq4qc20l2qM4WJLOZXLHuAnSJghd5xeLAtc6kjN
> wgIvZKQKkcCWO+SwE7RBRfT6rfjEYCAeF4csACRHiAtFeEGVN1KotCpINHt8gTt9
> Gne8DvTUWGfpZUaDz2iIf1+d3sQqyBu4diGhZQvrbUR6C7m1vO5y3Z64RTy4Sr1Y
> SD5e+h2k7V1Q4x3T6SZowSUvNTUTD1idCjcfP9vnhU3Q8HwlGs4nSCgiEVfQIlXY
> ixjVRFf4BPah3DRO8s/YVg15IW0JtU4zvsgx/A8EX+aUsyncNMOzIA==
> =WXyA
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> xml mailing list
> xml gnome org
> http://mail.gnome.org/mailman/listinfo/xml
> 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]