yep, but I am not using a DB on this one, and how does it react if someone doesnt go thru the actual process hence the timestamp check thingy?
-----Original Message----- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 16:31 To: CF-Talk Subject: Re: 'Locking' a process > 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

