Skip to main content

CSP Gateway

Manage a CSP Gateway programmatically.

Background Information

The CSP Gateway serves requests for CSP pages and Caché classes (including Zen pages). It is a DLL or shared library installed on and loaded by the web server. The CSP Gateway detects any requests for files with a .csp or .cls extension and sends them to a defined Caché server for processing. For an overview, see the chapter “CSP Architecture” in Using Caché Server Pages (CSP).

Usually you configure and manage the CSP Gateway via the CSP Web Gateway Management page; see the CSP Gateway Configuration Guide.

Available Tools

Defines an API used to control a Gateway from Caché code. Its methods provide the infrastructure for accessing (and modifying) the Gateway's internal tables, configuration, and log files from participating servers. Methods in this class include:

  • ClearCache()

  • CloseConnections()

  • GetCSPIni()

  • GetInfo()

  • GetSystemStatus()

  • SetServerParams()

  • And others

You must have specific permissions to use these methods.

Availability: All namespaces.

Is a registry of gateways for Caché which provides gateway management functionality. This class provides the following methods:

  • GetGatewayMgrs()

  • RemoveFilesFromCaches()

You must have specific permissions to use these methods.

Availability: All namespaces.

FeedbackOpens in a new tab