There is no alternative but to "include" the file.

However, if the code is all cfscript, it would technically be possible
to "evaluate" the whole lot at run time.

Andr�

-----Original Message-----
From: Peter Mayer [mailto:[EMAIL PROTECTED] 
Sent: 20 June 2003 11:15
To: CF-Talk
Subject: Parse cfm templates stored in a variable?

Hello!

I am reading files using cffile and storing them in a application
variable 
(because they are very often accessed).

If the file is a cfm template I would like to "execute" it - is there a 
simple way to do that?

The only solution I've seen so far would be to save the application 
variable to a file and than do a cfinclude with that temporary file.

Best regards,

Peter

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to