ermm...

Create a .lck file like DW does and check for its existance before
processing.
Have a DB table with a lock flag.

Just a couple that come immediately to mind.

Stephen

----- Original Message -----
From: "Robertson-Ravo, Neil (REC)" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 3:34 PM
Subject: RE: 'Locking' a process


> OK, probably didnt make myself clear enough, my mistake...(I am aware of
the
> <cflock>)
>
> I obviously want this to happen at the system level, but what I want is an
> abstraction above that...i.e. I am editing a file names XXX.xml, I do not
> want anyone else to come into the system and edit this file without them
> being 'aware' that I have it opened....you see what I mean?
>
> N
>
>
> -----Original Message-----
> From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
> Sent: 16 October 2002 15:30
> To: CF-Talk
> Subject: Re: 'Locking' a process
>
>
> You could use a named cflock I believe....
>
> Stephen
> ----- Original Message -----
> From: "Robertson-Ravo, Neil (REC)" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, October 16, 2002 3:15 PM
> Subject: '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.)
> > .
> >
> > Neil
> >
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to