contents   index   previous   next



CGIValue

 

Return Type: String

 

Returns the value of the specified CGI Environment Variable. If the Variable is a blank string (""), all the Environment Variables with Delimiter between each variable.

 

For Example:

 

Private Sub WebX1_FileRequest (Index As Integer, FileName As String)

    ' This will print all the CGI Variables with

    ' a CRLF between each of them

    Debug.Print WebX1.CGIValue (Index, "", vbCRLF)   

    ' This will print only the CGI Variable

    ' CGI_GATEWAY, which is "CGI/1.1".

    Debug.Print WebX1.CGIValue (Index, "CGI_GATEWAY")

End Sub

 

HTTPHeader