NetTalk Central

Author Topic: ThisWebClient.InActiveTimeout  (Read 2567 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1848
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
ThisWebClient.InActiveTimeout
« 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?
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: ThisWebClient.InActiveTimeout
« Reply #1 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