SusieG
11-14-2003, 08:23 PM
Hello
I am trying to include a .aspx file in a .cfm.
Does anyone know the code for this?
Any help appreciated.
Regards
Susie
bradm
11-20-2003, 01:16 AM
As far as I am aware there is no easy way of including an aspx file within a cfm file due to how the server processes these files.
One possible solution is to use CFHTTP to retrieve the http content from the .ASPX file and display this in the cfm file.
To do this you would add the following to the CFM file:
<cfhttp method="get" url="http://full Url to aspx file"></cfhttp>
<cfoutput>#cfhttp.fileContent#</cfoutput>
Hope this helps.