you can't include asp code into a cf template and have it run. You'll have
to use something like cfhttp to call the asp page, have it evaluate its
contents and return static html to your cf template.

you can however post or get to the asp code using cfhttp, so you can send it
variables if you like.

> -----Original Message-----
> From: Martin Gill [mailto:[EMAIL PROTECTED]]
> Sent: 22 August 2002 15:40
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] CF to ASP
> 
> 
> Dear All
> 
> 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">
> 
> 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.
> 
> The alternative is to copy the client variables that I need 
> to a seperate set of tables where Asp can access it - I don't 
> want to have to mess around with hidden form fields because 
> there could be silly amounts of data flying around.
> 
> Is this a safe solution for an eCommerce site - its not a 
> good solution, but 'good' was kind of knackered by me having 
> to use Datacash, which for the record, doesn't work in CF, 
> Asp.net, Delphi... not that I'm bitter or anything.
> 
> 
> Thanks
> 
> Martin L. Gill, MSc - Head Programmer
> 
> For & on Behalf of UniTech
> (The Universal Information Technology Group Ltd)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> URL: http://www.unitech.net
> Email: [EMAIL PROTECTED] 
> 
> UniTech House, 25 Bernard Street, Leith, Edinburgh, EH6 6SH
> Tel:  +(44) 0131 472 5555
> DDI: +(44) 0131 472 5560
> Fax: +(44) 0131 472 5556
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


Reply via email to