> Anyone got any ideas on how to do a pseudo lock on a process within an > application?
> My example is that I am reading from an .xml file whose contents can be > edited and then updated. I want to be able to lock this process so no > other > user can overwrite the data while another user is performing the action on > it (or at least flag the fact that its open by another process.) Tapestry does this with all the content records -- they're flagged in the db as "in use by user [x] with privelegdes [RWED]" -- if another user has a record open with more than R privilege, other users get only R privilege, regardless of their role or permissions, until the first user closes the record. Let me know if you'd like a more thorough explanation of how it's accomplished. S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com

