Source language: Translate to:

Internet Post Command Question

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Internet Post Command Question

Postby Pat Baner » Wed Jun 08, 2011 1:48 pm

I see that I can change the time a program will wait for a http timeout. What is the default time? Does it set a variable when and if it times out?

Thanks
Pat Baner
 
Posts: 75
Joined: Tue Jan 04, 2011 9:21 am

Postby Gaev » Wed Jun 08, 2011 2:25 pm

Travin69:
What is the default time?
From the Help Documentation ...
[HTTPTimeOut]
Use this variable to specify the number of milliseconds NeoBook should wait for an HTTP action to return before giving up. For example, to set the timeout to 400 milliseconds:

SetVar "[HTTPTimeOut]" "400"
InternetGet...

To restore the default setting (wait forever), set [HTTPTimeOut] to null like this:

SetVar "[HTTPTimeOut]" ""

Does it set a variable when and if it times out?
Since the default is to wait forever ... this is a moot point.
User avatar
Gaev
 
Posts: 3734
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Postby Pat Baner » Wed Jun 08, 2011 4:44 pm

Thanks. I missed the wait forever bit. That makes a lot more sense now.
Pat Baner
 
Posts: 75
Joined: Tue Jan 04, 2011 9:21 am


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest