> I have an ASP script that must be included in a CFM document.
> CFinclude does not work for this purpose.
>
> Is there any way to do this? I found the following, however,
> all I get is a blank screen:
>
> <script language="VBScript" src="./link_generalquery2.asp"
> runat="server">
>
> Anyway, whatever I do, this must run from within a CFM
> document for security purposes.
>
> Any help would be appreciated.
You can't execute an ASP request within a CFML script. The RUNAT attribute
of the SCRIPT tag only works within ASP.
However, you might be able to simply modify your ASP script so that it's
instead a Windows Script Host (WSH) script, which can be run through
CFEXECUTE or even CFOBJECT if it's set up as a Windows Script Component. WSH
can use VBScript and JavaScript, just like ASP, and it's usually very easy
to convert ASP code to WSH.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.