What you actually need to do is generate a page with the form u want
submitted, and include some javascript to auto-submit the form when the page
loads. The page can be empty with hidden form fields as this will be an
automated process.

E.g

<script language="javascript" tyle="text/javascript">
document.onload = document.formname.submit();
</script>

Russ Michaels
Macromedia/Allaire Certified ColdFusion Developer
 
CFDeveloper
The free resource and community for ColdFusion developer.
http://www.cfdeveloper.co.uk

Join the CFDeveloper discussion lists.
To subscribe send an e-mail to [EMAIL PROTECTED]

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: 17 May 2004 12:03
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] CFHTTP
> 
> 
> 
> Hi folks.
> 
> I'm having a wee problem using CFHTTP.  What I basically need 
> is for CFHTTP to simulate the submission of a form.  The 
> problem i'm having is that instead of moving on to the form 
> action page (which is on a different
> server) I have to display the results in the same page as the 
> CFHTTP request using #cfhttp.filecontent#.  My problems 
> arises because the page that the form is to be submitted to 
> sets a number of cookies, and does various other jiggery 
> pokery which break when using cfhttp instead of a direct form 
> submission.
> 
> Is there anyway I can simulate the submission of a form, and 
> actually make the user move over to the other site rather 
> than displaying the content in my own page?
> 
> Cheers
> 
> James
> 
> 
> -- 
> These lists are syncronised with the CFDeveloper forum at 
> http://forum.cfdeveloper.co.uk/
> Archive: 
> http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>  
> CFDeveloper Sponsors and contributors:-
> *Hosting and support provided by CFMXhosting.co.uk* :: 
> *ActivePDF provided by activepdf.com*
>       *Forums provided by fusetalk.com* :: *ProWorkFlow 
> provided by proworkflow.com*
>            *Tutorials provided by helmguru.com* :: *Lists 
> hosted by gradwell.com*
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> 


--
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to