Hi,
> I am having to access Asp code from CF 5 and there are a couple
> of points which I am unsure of;
>
> 1. How do I call the code? Would <CFINCLUDE URL="this_code.asp">
> work, or would I have to use <CFMODULE TEMPLATE ="this_code.asp">
This won't work. If include a file in cf it will be include as CF.
You could however do a
<cfhttp action=get to grab the results of a asp page.
> 2. If I pass a FORM variable into the page (FORM.X), could I
> access it from the asp, ie.
>
>
> In the CF page...
> <CFINCLUDE URL="this_code.asp">
>
> and inside this_code.asp...
>
> formX = Request.Form.Item("X")
>
>
> 3. I'd heard that you cannot access client variables directly
> from Asp, but is it safe to access the client variables database
> from Asp? I can view the format in SQL Server, but I've not tried
> accessing it from code directly - especially as the code will be asp.
U could.
However I thing you are going the wrong way about this.
You could
a) rewrite all the asp in CF
b) wrap the ASP up as a webservice, and call it via CFINVOKE
c) use the COM objects, if any ,from CF
d) Use asp.
Justin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]