Global Data
The Data system allows you to create centrally accessible global data items such as lists, and counters, that can be referred to and used by WinGate services and components.
Types of Global Data items
The Data system provides 4 different types of global data items:
-
List
The List item represents a list of string values. This is typically used for creating URL white or black lists, Allowed user lists, Banned IP addresses etc.
-
Counter
The Counter item represents a number. It can be incremented, decremented, or used to store a numeric value as required.
-
Boolean
The Boolean value represents a true or false value. This is commonly used to switch behavior in other WinGate components, for example turning on or off authentication in the WWW proxy server.
-
String
The String value represents a textual value. This is commonly used for a configuration parameter. For instance, it can be used to set the email address to which administrative alerts should be sent.
Accessing global data items
All global data items can be created, read, modified, and deleted as required when using a WinGate scripting system (such as the Lua or Javascript event processors) or using the Symbol browser in a WinGate configuration. This makes them useful for storing data between events, or setting thresholds for action, and provides a convenient central location to set all their values.
Read more