RE: 'Locking' a process

2002-10-16 Thread S . Isaac Dealey
I think there are ways to set readonly on a file using or the windows scripting host, but my impression is that in most cases these sorts of operations aren't concerned with absolutely preventing people from maliciously circumventing the system ( as is the case with anti-virus and firewall softwa

RE: 'Locking' a process

2002-10-16 Thread S . Isaac Dealey
serves me right for responding before I finish reading the previous posts. :) > yep, I think we have established that :-p > LOL > -Original Message- > From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] > Sent: 16 October 2002 16:33 > To: CF-Talk > Subject: RE

RE: 'Locking' a process

2002-10-16 Thread S . Isaac Dealey
o:[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 conte

RE: 'Locking' a process

2002-10-16 Thread Thomas Chiverton
> how does it react if someone > doesnt go thru the actual process hence the timestamp check > thingy? The trouble with most application lock files, is that if you don't use the application, you can override the lock anyway. With access, you can just delete the .ldb file. With dreamweaver's .lck

RE: 'Locking' a process

2002-10-16 Thread S . Isaac Dealey
>> -Original Message- >> From: Everett, Al [mailto:[EMAIL PROTECTED]] >> Sent: 16 October 2002 15:41 >> To: CF-Talk >> Subject: RE: 'Locking' a process >> >> >> Use a semaphore or lock file. When someone grabs addams.xml >>

RE: 'Locking' a process

2002-10-16 Thread Robertson-Ravo, Neil (REC)
yep, I think we have established that :-p LOL -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 16:33 To: CF-Talk Subject: RE: 'Locking' a process Problem with a named lock is it's only available for the short time that a sin

RE: 'Locking' a process

2002-10-16 Thread Robertson-Ravo, Neil (REC)
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'

RE: 'Locking' a process

2002-10-16 Thread S . Isaac Dealey
- > From: Robertson-Ravo, Neil (REC) > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 16, 2002 15:16 > To: CF-Talk > 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

Re: 'Locking' a process

2002-10-16 Thread S . Isaac Dealey
> 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 pe

RE: 'Locking' a process

2002-10-16 Thread Everett, Al
over. Access *.ldb files, for instance. > -Original Message- > From: Rich Wild [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 16, 2002 10:41 AM > To: CF-Talk > Subject: RE: 'Locking' a process > > > hmm, I really like this. Better than my db

RE: 'Locking' a process

2002-10-16 Thread Rich Wild
I agree. The lock file idea is more applicable. > -Original Message- > From: Robertson-Ravo, Neil (REC) > [mailto:[EMAIL PROTECTED]] > Sent: 16 October 2002 15:48 > To: CF-Talk > Subject: RE: 'Locking' a process > > > cheers Rich, I did think of th

RE: 'Locking' a process

2002-10-16 Thread Everett, Al
Woo-hoo! I win! > -Original Message- > From: Robertson-Ravo, Neil (REC) > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 16, 2002 10:48 AM > To: CF-Talk > Subject: RE: 'Locking' a process > > > cheers Rich, I did think of this, but the files

RE: 'Locking' a process

2002-10-16 Thread Rich Wild
hmm, I really like this. Better than my db idea in this instance nice one. > -Original Message- > From: Everett, Al [mailto:[EMAIL PROTECTED]] > Sent: 16 October 2002 15:41 > To: CF-Talk > Subject: RE: 'Locking' a process > > > Use a semaphor

RE: 'Locking' a process

2002-10-16 Thread Robertson-Ravo, Neil (REC)
: 'Locking' a process sounds like he's got an xml file open for editing though. I think he's talking about locking it so that noone else can go into the file and edit it at the same time (ie implementing a client side lock not a server side lock) I guess you could flick a bit co

Re: 'Locking' a process

2002-10-16 Thread Stephen Moretti
lk" <[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 > ) > > I obviously want this to happen at the system level, but what I want is an >

RE: 'Locking' a process

2002-10-16 Thread Robertson-Ravo, Neil (REC)
excellent idea...indeed, superb. I see what I can knock up; -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:41 To: CF-Talk Subject: RE: 'Locking' a process Use a semaphore or lock file. When someone grabs addams.xml for editing, writ

RE: 'Locking' a process

2002-10-16 Thread Rich Wild
15:29 > To: CF-Talk > Subject: Re: 'Locking' a process > > > How about doing CFLOCK and using a named lock? > > Greg > > At 03:15 PM 10/16/02 +0100, you wrote: > >Anyone got any ideas on how to do a pseudo lock on a process > within an > >applic

RE: 'Locking' a process

2002-10-16 Thread Everett, Al
-Ravo, Neil (REC) > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 16, 2002 10:16 AM > To: CF-Talk > 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

RE: 'Locking' a process

2002-10-16 Thread Robertson-Ravo, Neil (REC)
them being 'aware' that I have it openedyou 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 --

Re: 'Locking' a process

2002-10-16 Thread Greg Bullough
How about doing CFLOCK and using a named lock? Greg At 03:15 PM 10/16/02 +0100, you wrote: >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

Re: 'Locking' a process

2002-10-16 Thread Stephen Moretti
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

RE: 'Locking' a process

2002-10-16 Thread Mike Townend
Wrap it with a named lock ? HTH -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 15:16 To: CF-Talk Subject: 'Locking' a process Anyone got any ideas on how to do a pseudo lock on a process within an applica

'Locking' a process

2002-10-16 Thread Robertson-Ravo, Neil (REC)
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 th