Good point. I've noticed that some of the file contention problems 
seem to disappear if I use a loop to introduce a brief delay between a CFFILE Delete 
and 
a CFFILE Write operation on the same file. Is that to be expected, and should CFLOCK 
solve that problem (it seems that there are still some file contention or access 
problems).

Gene Kraybill

> from [EMAIL PROTECTED]

> It could be contention for that file by your application. You could either
> CFLOCK that CFFILE operation, or if you don't mind losing some writes you
> could use CFTRY/CFCATCH to prevent end users from seeing the error.
 
> From: Gene Kraybill [mailto:[EMAIL PROTECTED]]
 
> We have a simple logging system on one of our sites,  and occasionally see
> this error:
 
> > Error processing CFFILE
> > Error attempting to write data to
> > target file 'E:/Web/ThisSite/counter/ShowPage_8_Day10.log'.
> > Error:  The file could not be accessed.
 
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to