Hi all,

I'd like to create some CF code dynamically and then writting it to file.

I was thinking of doing something like this:

        <cfoutput>
        <cfsavecontent variable="myCode">
                #chr(60)#cfinvoke component="/cfcfolder/_cfc-tracker" 
method="getTracker" returnvariable="getTracker"#chr(62)#
                                #chr(60)#cfinvokeargument name="DSN" 
value="#REQUEST.theDatabase#"#chr(62)#
                                #chr(60)#cfinvokeargument name="IPadd" 
value="#CGI.REMOTE_ADDRESS#"#chr(62)#    
                #chr(60)#/cfinvoke#chr(62)#             
        </cfsavecontent>
        </cfoutput>

What would be a better method as I'm sure I'm over complicating things?
Thanks,

Richard

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277548
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