Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cfhttp timeout

New Here ,
Apr 29, 2009 Apr 29, 2009

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,

TOPICS
Getting started
2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Apr 29, 2009 Apr 29, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 29, 2009 Apr 29, 2009

Thanks Michael.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Apr 30, 2009 Apr 30, 2009
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources