ISSERVER()

From Lianjapedia
Jump to: navigation, search

Purpose

Function used to determine how an application is being run

Syntax

ISSERVER()

See Also

GETENV(), GETLOCALHOST(), GETREMOTEADDR(), GETREMOTEHOST(), GETREMOTEUSER(), ISFIRECAT(), ISLIANJA()

Description

The ISSERVER() function returns .T. (True) if the current application code is being run via the Lianja SQL Server or Lianja Cloud Server, otherwise .F. (False).

Example

if isserver()
   // running via server
endif