Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomHTTPServer.KeepAlive Property

Indicates if a client connection should remain open for subsequent use in an HTTP session.

Pascal
property KeepAlive: Boolean;

KeepAlive is a Boolean property that indicates if the HTTP server should keep the connection open for the session established in an executing client thread. When KeepAlive is True, the connection used for the HTTP response is give a 'keep-alive' header in the response content. When KeepAlive is False, the connection header 'close' is used in the HTTP response. 

The default value for KeepAlive is Id_TId_HTTPServer_KeepAlive, as assigned during initialization of the component.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.