I tried cflock but had some issues getting it to work the way I was wanting it 
to. I'll try again though.

I"m on CF 8 Ent. I think the issue is partially because each file will run in 
its own thread at the same time. I'm new with event gateways so I'll look more 
into the threading side of it. 

Thanks

Phil

> 
> I can think of two things:
> 
> 1.  Use cflock, this should lock the 1st process to come up and keep 
> it until it is done especially if set the lock type to exclusive which 
> will not allow another resource to neither read nor write during the 
> time the lock is in effect.  Read only will work too, since your 
> problem is the two objects getting written at the same time.
> 
> 2.  Some sort of thread checking/processing.  if you use CF 8 the new 
> cfthread tag is available, I have not used it myself, but I'm sure you 
> can find info on how to use it on the live docs site.  If that is not 
> an option and you have some Java programming skills you could write a 
> little Java in cfscript tags and create the threads.  I'm sure there's 
> a .NET equivalent as well, again you need CF 8.  If you are not into 
> using .NET or Java, the 1st option may be your best bet.
> 
> --JW 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322301
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to