Share this page

# web.enableKeepAlive

Enables Keep–Alive HTTP connections.

Miscellaneous Functions

## Syntax

    web.enableKeepAlive( );

## Return Values

Not applicable

## Parameterization

Parameterization is not applicable to this function.

## General Information

The web.enableKeepAlive function is a service function that enables the Keep–Alive HTTP connections.

The web.enableKeepAlive function is effective only when the browser and server both support Keep–Alive 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 enable Keep–Alive connections, the same TCP connection retrieves all of the elements on a page, decreasing the load on the HTTP server.

## Example

    web.enableKeepAlive();

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: