WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox 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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-14-2003, 08:23 PM
WebProWorld Member
 

Join Date: Jul 2003
Posts: 39
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, 01:16 AM
bradm's Avatar
WebProWorld New Member
 

Join Date: Aug 2003
Location: Brisbane, Australia
Posts: 17
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.
__________________
Brad
Web Bound - Web sites that work
www.webbound.com.au
Check us out for all your internet needs
Reply With Quote
Reply

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



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

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


Search Engine Optimization by vBSEO 3.2.0