Hi all,
Having some problems with trying to catch an error when my http post times out.
I have followed the livedocs and included a try and catch statement however
when it times out I get an white page with error 500 tag exceeded etc I
assumed that a try statement would overrule any error
Is it the remote request or your own page timing out?
Adrian
-Original Message-
From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk]
Sent: 06 February 2009 16:31
To: cf-talk
Subject: Timeout in CFHTTP
Hi all,
Having some problems with trying to catch an error when my http
sure it is cfhttp timing out or maybe it's your page that does?
try adding cfsetting requesttimeout=300 at the top of your page.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Glyn Jackson wrote:
Hi all,
Having some problems with trying to catch an error when my http post times
Note that Cfhhtp's timeout is in seconds, CF's requesttimeout is in
milliseconds.
Adrian
-Original Message-
From: Azadi Saryev [mailto:az...@sabai-dee.com]
Sent: 06 February 2009 16:45
To: cf-talk
Subject: Re: Timeout in CFHTTP
sure it is cfhttp timing out or maybe it's your
I put it to a high 200 seconds on a url I knew would time out, however I get
the error after around 30 seconds so its just ignoring the timeout on the
CFHTTP call. does requesttimeout come before? which takes precedence
are you sure, Adrian?
the docs (cfml reference) say:
requestTimeout:
Optional
integer; *number of seconds*. Time limit, after which ColdFusion processes
the page as an unresponsive thread. Overrides the time-out set in the
ColdFusion Administrator.
Azadi Saryev
Sabai-dee.com
Ermm, I was sure, but now I'm not!
Just looked at the docs, you're right. I think I might have to revisit some
code now!
:O.
Adrian
-Original Message-
From: Azadi Saryev [mailto:az...@sabai-dee.com]
Sent: 06 February 2009 17:21
To: cf-talk
Subject: Re: Timeout in CFHTTP
Hi all,
I'm using cfhttp in CFMX, and according to the docs the 'timeout' attribute
doesn't function with JDK 1.3 (which is what I'm using) so occassionally the
page just hangs indefinitely. Is there some code I could put around the
cfhttp tag which will replace the function of the timeout
Could try a named cflock? Dunno if that would work though, worth a try?
-Original Message-
From: A.Little [mailto:[EMAIL PROTECTED]
Sent: 07 July 2003 09:59
To: CF-Talk
Subject: Timeout for cfhttp
Hi all,
I'm using cfhttp in CFMX, and according to the docs the 'timeout'
attribute
9 matches
Mail list logo