Skip to main content
Version: 20 R7 BETA

WEB Is server running

WEB Is server running : Boolean

ParameterTypeDescription
Function resultBooleanTrue if the Web Server is running, otherwise False

Description

The new WEB Is server running command returns True if the 4D built-in Web server is running, and False if the Web server is off.

This command returns the running status of the Web Server where it is executed:

Execution contextReturns the status of
4D stand-alone applicationLocal 4D Web server
4D Server4D Server Web server
4D remote mode (local process)Local 4D Web server
4D remote mode (4D Server stored procedure)4D Server Web server
4D remote mode (other 4D remote stored procedure)Remote 4D Web server

Example

You want to check that the Web server is running:

 If(WEB Is server running)
    ... //do appropriate actions
 End if