wodHttpDLX ActiveX Control - KeepAlive Property
      
 

Description

Should wodHttpDLX send KeepAlive on remote server.


Property type

A HttpKeepAlives enumeration.  


Syntax

object.KeepAlive [= value]



The KeepAlive Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodHttpDLX.
value A HttpKeepAlives enumeration, as described in settings.

Settings

The settings for value are:

Constant Value Description
 Automatic 0 Automatically send keep-alives
 Always 1 Always send keep-alives
 Never 2 Never send keep-alives

Remarks

Starting with version 1.1 of the HTTP protocol, a client now has the ability to send notification to a remote server that it should not drop the connection after sending a response back to the client. This means a significant increase in the speed of communication because the client does not have to reconnect to the server to get another resource.

However, some servers may misbehave and produce unexpected errors, so the user is able to set this property to a value that suits him best. If KeepAlive is set to Automatic, wodHttpDLX will decide whether or not its going to send this header to a remote server. wodHttpDLX usually sends this header during a manual Connect method call, but also when Proxy server is used.