PLBWEB_MSG_TIMEOUT Keyword


     PLBWEB_MSG_TIMEOUT={ seconds }

 

This keyword specifies how long a PL/B program can persist as a server child program task waiting for a PL/B Web Client to re-connect.

 

By default, the PL/B Web Server places a child task in the 'suspended' state if an elapsed time of ten (10) seconds expires without any communication being received from the client browser JavaScript when this keyword is not used. Otherwise, this keyword can be used to set the number of seconds that the PWS server waits for a communication from the client browser before suspending a child task. The minimum number of allowed {seconds} is 10.

Note the following:

1.   If the device or system where a client browser is executing goes into a sleep or hibernation state which prevents communications with the PWS server, the child task is placed in a 'suspended' state after a default of 10 seconds or the number of seconds specified by the PLBWEB_MSG_TIMEOUT keyword expires.

2.   A child task in the 'suspended' state may or may not use a PWS pending licensed user count. However, the license user count of a 'suspended' child task is revoked and transferred to any child logon request the requires an 'active' license.

3.   Any child task in the 'active' or 'idle' states can be placed in a 'suspended' state.

4.   Changes to this keyword take affect when a new user logon occurs which creates a new child task.

5.   If the device or system executing the client browser resumes from a sleep or hibernation state, the PLB JavaScript can re-establish a connection with an existing child task in a 'suspended' state only if it still controls a PWS pending user license or if it can acquired a new PWS license count.

 

 

See Also: Child Task Management, PLBWEBSRV Keywords, Server Command Line



PL/B Web Server PLBWEB_MSGCOMPRESS PLBWEB_MSGBUFFER