Return the value of a CGI environment variable for the specified client.
A boolean value which specifies if the header value was copied to the string buffer. A return value of true specifies that the operation was successful. If an error occurs, the method returns false and the application should check the value of the LastError property to determine the cause of the failure.
The GetVariable method will return the value of an environment variable that has been defined for the client. Each client session inherits a copy of the process environment block, which is then modified to define various environment variables that are used with CGI programs and scripts. The SetVariable method can be used to change existing environment variables or create new variables.
The standard CGI environment variables that are defined by the server are not created until the client request has been processed. This means that environment variables such as REMOTE_ADDR and SERVER_NAME will not be defined inside an OnConnect event handler.