Difference between revisions of "Midware TAppServer.OnClientTimeout"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TAppServer -> [[Midware_TAppServer.OnClientTimeout | OnClien…')
 
Line 6: Line 6:
  
 
== Description ==
 
== Description ==
 +
 +
Occurs when a client is disconnected because of lack of activity.
  
 
When a client had no more activity during some time specified by the ClientTimeout property, it is automatically disconnected. If this occurs, the OnClientTimeout event is triggred.
 
When a client had no more activity during some time specified by the ClientTimeout property, it is automatically disconnected. If this occurs, the OnClientTimeout event is triggred.
 
The argument CanClose passed by var if initialized to TRUE. The event handler may reset it to FALSE so that the client is not disconnected.
 
The argument CanClose passed by var if initialized to TRUE. The event handler may reset it to FALSE so that the client is not disconnected.

Revision as of 08:44, 14 May 2011

Main page -> Midware component reference -> TAppServer -> OnClientTimeout

Definition

property OnClientTimeout: TClientTimeoutEvent;

Description

Occurs when a client is disconnected because of lack of activity.

When a client had no more activity during some time specified by the ClientTimeout property, it is automatically disconnected. If this occurs, the OnClientTimeout event is triggred. The argument CanClose passed by var if initialized to TRUE. The event handler may reset it to FALSE so that the client is not disconnected.