Thanks John, 

When I attempt to try this however, I am receiving a "Connection Failer"
error. 

This is what I have contained in the body of my cfm page:

<CFHTTP URL="http://www.mysite.com/test.asp" METHOD="GET" RESOLVEURL="true">
<CFOUTPUT>
#CFHTTP.FileContent#
</CFOUTPUT>

In my test.asp page I have the following inlcuded in the body:

<%response.write "This is a test..." %>


What gives? :)

Dayv


-----Original Message-----
From: Jonathan Keller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 11:19 AM
To: CF-Server
Subject: Re: ASP in <cfinclude>?



Here's a short sample.  The are a lot more parametes to the CFHTTP tag.
Take a look at the documentation if you need more functionality.

<CFHTTP URL="http://127.0.0.1/path/to/file.asp" METHOD="GET"
RESOLVEURL="true">
<CFOUTPUT>
#CFHTTP.FileContent#
</CFOUTPUT>

"SHEETS, DAYV (PB)" wrote:

> Thanks John,
>
> Can you provide me with an example of how I would be able to accomplish
> this?
>
> Thanks,
>
> Dayv
>
> -----Original Message-----
> From: Jonathan Keller [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 03, 2001 9:47 AM
> To: CF-Server
> Subject: Re: ASP in <cfinclude>?
>
> You probably want to use CFHTTP to call the ASP template.  CFHTTP will
> return the contents the page generated which could then be placed in your
> output
> from the CF page.
>
> --
> Jonathan Keller
> [EMAIL PROTECTED]
> Application Developer - DaFIS
>
> "SHEETS, DAYV (PB)" wrote:
>
> > Hello,
> >
> > Can anyone tell me if it is possible to perform a <cfinclude> with ASP
as
> > the template? If it is possible please also provide an example of how
this
> > is accomplished.
> >
> > Thanks,
> >
> > Dayv
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to