JavaScript Functions > Alphabetical Listing of Web Functions > web.disableKeepAlive

web.disableKeepAlive

Disables Keep–Alive HTTP connections.

Syntax

web.disableKeepAlive( );

Return Values

Not applicable

Parameterization

Parameterization is not applicable to this function.

General Information

The web.disableKeepAlive function is a service function that disables Keep–Alive HTTP connections. By default, the KeepAlive setting is enabled.

Keep–Alive connections, also known as persistent connections, allow clients to re–use established TCP connections to a HTTP server to download several elements on a page, or even to download several different urls. When you disable Keep–Alive connections, a separate TCP connection is established to get each element on a page, increasing the load on the HTTP server.

Example

   web.disableKeepAlive();