Why not just set it to a value that works, and set a schedules task to call
this page every minute

Snake 

-----Original Message-----
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: 26 October 2006 19:37
To: CF-Talk
Subject: using cfhttp to submit to a form processing page on another server

I'm testing something for a local contest. The details say that you can
submit as many times as you like so I'm trying out the old cfhttp the form
variables to their processing page.

When I run it once it works just fine, and appears to submit successfully.
So I bumped it up to 500 and went on doing my work. But it just sat and spun
for a few minutes then timed out with this error:

The request has exceeded the allowable time limit Tag: cfhttp The error
occurred on line 4.

So I reduced it further and further until I found that I could set it to 10
and it would run. That's little better than doing it all by hand so I want
to find out how I can go about increasing the time limit or something that
will let me run it at least 50 or 100 times in a row.

This is the code I'm using:
<cfloop from="1" to="25" index="i">
        <cfhttp url="http://dannyandnina.com/thanks.php"; method="post">
                <cfhttpparam name="state" type="formField" value="43">
                <cfhttpparam name="town" type="formField" value="206">
        </cfhttp>
        <cfoutput>#i#<br /></cfoutput>
</cfloop>

Even s5 times out. This is one of things which my PHP friends would say that
PHP would have no problem with, and I know CF is every bit as powerful and
useful, but why am I encountering this issue?

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258151
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to