Skip to main content
Version: Next

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

Properties

Command number1313
Thread safe