NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on October 23, 2019, 03:01:44 AM

Title: ThisWebClient.InActiveTimeout
Post by: Alberto on October 23, 2019, 03:01:44 AM
NetWebClient
What hapen when ThisWebClient.InActiveTimeout is reached?
Where do I catch it?
ErrorTrap or PageReceived and how?
Title: Re: ThisWebClient.InActiveTimeout
Post by: Bruce on October 25, 2019, 05:02:03 AM
ErrorTrap was called.

Error Code: -57
Error Message: Connection Timed Out. The error number was -57 which means Connection was closed because it was idle (inactive).

You can't "catch"this in the sense of "keeping it open". It's already closed by this point.
If you want it to be "long" then set it long (and do your own tests on a timer if you want to close it before the timeout.)

cheers
Bruce