OnTimeout Event  
 

The client has exceeded the maximum allowed idle time.

Syntax

Sub object_OnTimeout ( [Index As Integer,] ByVal ClientId As Variant, ByVal Elapsed As Variant )

Parameters

ClientId
An integer value which uniquely identifies the client session.
Elapsed
An integer value that specifies the number of seconds that have elapsed.

Remarks

The OnTimeout event occurs after the client has has exceeded the maximum allowed idle time, and immediately before the client is disconnected from the server. This event will never occur during a file transfer or directory listing.

To change the default idle timeout period for all clients, set the IdleTime property prior to starting the server. To set the idle timeout period for a specific client, set the ClientIdle property in an OnConnect or OnLogin event handler.

See Also

ClientIdle Property, IdleTime Property, OnConnect Event, OnLogin Event