ahh, cfinclude, didnt see you say that.  Ill try it.

Thanks!

On 9/20/05, Ian Skinner <[EMAIL PROTECTED]> wrote:
> Ill try this, and had considered it, but when pulling it in with cffile, its 
> going to come as a variable as text, wouldn't it work out the same way, 
> passing the text as sql to the database?
> 
> 
> Yes, that is why you need to include it.
> 
> <cffile action="write" file="path/file.cfm" ...>
> 
> .... Some other code possibly...
> 
> 
> <cfinclude template="path/file.cfm">
> 
> 
> 
> Because of the limitations of cfinclude, you will need to write the file to a 
> location that can be seen with a relative path by the calling file, aka the 
> file that is writing and reading the file.  Or write it to a location that 
> has a coldfusion mapping set in the administrator.
> 
> One other issue that I thought might be a problem is that if the <cfinclude> 
> is too close the <cffile action="write"...> that it might try reading the 
> file before the OS is done writing it.  Not sure how that works.  But a delay 
> or creative locking should mitigate this issue.
> 
> 
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
> 
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
> 
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218746
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to