Skip to main content
Participating Frequently
April 30, 2009
Question

cfhttp timeout

  • April 30, 2009
  • 2 replies
  • 2617 views

Hi all experts,

Would you like to tell me the meaning of "timeout" attribute in cfhttp tag?

For example

<cfhttp timeout="30000">

That means my connection is kept in 30000s?

That mean my connection is broken after 30000s if hasn't received any response from server?


Please help me. I'm using cfhttp tag to upload video to youtube, so I dont know should I increase the timeout value or not.

Thanks very much,

This topic has been closed for replies.

2 replies

ilssac
Inspiring
April 30, 2009

I would say it is more correct that the timeout is how long the CFML code will wait for a response.  If the timeout is triggered that doesn't cause the request to stop, just that CF is not going to wait for it any longer.

Michael Borbor
Inspiring
April 30, 2009

The second one is the answer, just don't provide a timeout and the cfhttp will continue to work, if there isn't a setting that overrides this in the CF Administrator. Or add a very long timeout.

monkeyvuAuthor
Participating Frequently
April 30, 2009

Thanks Michael.