iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-14-2003, 09:23 PM
WebProWorld New Member
 
Join Date: Jul 2003
Posts: 18
SusieG RepRank 0
Default aspx file include in CF

Hello

I am trying to include a .aspx file in a .cfm.
Does anyone know the code for this?

Any help appreciated.

Regards
Susie
Reply With Quote
  #2 (permalink)  
Old 11-20-2003, 02:16 AM
bradm's Avatar
WebProWorld New Member
 
Join Date: Aug 2003
Location: Brisbane, Australia
Posts: 2
bradm RepRank 0
Default

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.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:47 PM.



Search Engine Optimization by vBSEO 3.3.0