Larry,
That seems fine.
One thing though, if you are trying to simulate a user session,
it's not gonna work...
We were trying to integrate web automation of jfax's websend, except it
required a user login and session to be kept. CFHTTP didn't do it for us.
Unless anyone has figured a work-around ?
My attempt at a fix was trying to do it by calling IE through COM.
Here's what i came up with for CF, but of course it doesn't seem to work:
<cfobject action="CREATE" name="IE" class="InternetExplorer.Application">
<cfset tmp = IE.navigate("http://www.aylo.com/index.cfm")>
<!---
Wait till the browser is done loading the url.
Good work-around since you can use the vb nagivation_complete event
--->
<cfloop condition="IE.ReadyState NEQ 4">
</cfloop>
<cfoutput>
<b>Title:</b>#IE.document.title#<br>
<b>Body:</b>#IE.document.documentElement.innerHTML#
</cfoutput>
This should work ! Alas, it doesn't. (If you need the working asp code
let me know.)
To continue further on this, you will notice that you are now accessing
the entire client side javascript document object model...through the
server. Which means you could easily dynamic populate form field of a
page and call the form submit method.
I know this is demented, but it works in simulating a multi-form page
user session !
w00t !
Aymeric.
Larry Juncker wrote:
> I am attempting to send information to an ASP page in the form of a
> [httpparam]. I know absolutely nothing about ASP and am still learning Cold
> Fusion. I am placing a piece of my code below. Can anyone tell me if there
> is anything different I have to do to send this info to an ASP page?
>
> <cfhttp method=post
> url="https://secure.internetclearing.com/iccnet12/userinfo.asp"
> resolveurl="yes">
>
> <cfhttpparam type=formfield value="#Logon#" name="Logon">
> </cfhttp>
>
> Thank You in Advance
> H Larry Juncker
> L Senior Cold Fusion Programmer
> I Heartland Communications Group
> Internet Division
>
> ------------------------------------------------------------------------------
> Archives: http://www.eGroups.com/list/cf-talk
> 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.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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.