Click here to ask a question or provide feedback on this topic Bookmark this topic Print this topic    Previous Next

Server Variables

The following variables get expanded on the server side: 

Variable  Description 
SERVER.ALL_HTTP  Returns all HTTP headers sent by the client. Always prefixed with HTTP_ and capitalized 
SERVER.ALL_RAW  Returns all headers in raw form 
SERVER.APPL_MD_PATH  Returns the meta base path for the application for the ISAPI DLL 
SERVER.APPL_PHYSICAL_PATH  Returns the physical path corresponding to the meta base path 
SERVER.AUTH_PASSWORD  Returns the value entered in the client's authentication dialog 
SERVER.AUTH_TYPE  The authentication method that the server uses to validate users 
SERVER.AUTH_USER  Returns the raw authenticated user name 
SERVER.CERT_COOKIE  Returns the unique ID for client certificate as a string 
SERVER.CERT_FLAGS  bit0 is set to 1 if the client certificate is present and bit1 is set to 1 if the cCertification authority of the client certificate is not valid 
SERVER.CERT_ISSUER  Returns the issuer field of the client certificate 
SERVER.CERT_KEYSIZE  Returns the number of bits in Secure Sockets Layer connection key size 
SERVER.CERT_SECRETKEYSIZE  Returns the number of bits in server certificate private key 
SERVER.CERT_SERIALNUMBER  Returns the serial number field of the client certificate 
SERVER.CERT_SERVER_ISSUER  Returns the issuer field of the server certificate 
SERVER.CERT_SERVER_SUBJECT  Returns the subject field of the server certificate 
SERVER.CERT_SUBJECT  Returns the subject field of the client certificate 
SERVER.CONTENT_LENGTH  Returns the length of the content as sent by the client 
SERVER.CONTENT_TYPE  Returns the data type of the content 
SERVER.GATEWAY_INTERFACE  Returns the revision of the CGI specification used by the server 
SERVER.HTTP_  Returns the value stored in the header HeaderName 
SERVER.HTTP_ACCEPT  Returns the value of the Accept header 
SERVER.HTTP_ACCEPT_LANGUAGE  Returns a string describing the language to use for displaying content 
SERVER.HTTP_COOKIE  Returns the cookie string included with the request 
SERVER.HTTP_REFERER  Returns a string containing the URL of the page that referred the request to the current page using an tag. If the page is redirected, HTTP_REFERER is empty 
SERVER.HTTP_USER_AGENT  Returns a string describing the browser that sent the request 
SERVER.HTTPS  Returns ON if the request came in through secure channel or OFF if the request came in through a non-secure channel 
SERVER.HTTPS_KEYSIZE  Returns the number of bits in Secure Sockets Layer connection key size 
SERVER.HTTPS_SECRETKEYSIZE  Returns the number of bits in server certificate private key 
SERVER.HTTPS_SERVER_ISSUER  Returns the issuer field of the server certificate 
SERVER.HTTPS_SERVER_SUBJECT  Returns the subject field of the server certificate 
SERVER.INSTANCE_ID  The ID for the IIS instance in text format 
SERVER.INSTANCE_META_PATH  The meta base path for the instance of IIS that responds to the request 
SERVER.LOCAL_ADDR  Returns the server address on which the request came in 
SERVER.LOGON_USER  Returns the Windows account that the user is logged into 
SERVER.PATH_INFO  Returns extra path information as given by the client 
SERVER.PATH_TRANSLATED  A translated version of PATH_INFO that takes the path and performs any necessary virtual-to-physical mapping 
SERVER.QUERY_STRING  Returns the query information stored in the string following the question mark (?) in the HTTP request 
SERVER.REMOTE_ADDR  Returns the IP address of the remote host making the request 
SERVER.REMOTE_HOST  Returns the name of the host making the request 
SERVER.REMOTE_USER  Returns an unmapped user-name string sent in by the user 
SERVER.REQUEST_METHOD  Returns the method used to make the request 
SERVER.SCRIPT_NAME  Returns a virtual path to the script being executed 
SERVER.SERVER_NAME  Returns the server's host name, DNS alias, or IP address as it would appear in self-referencing URLs 
SERVER.SERVER_PORT  Returns the port number to which the request was sent 
SERVER.SERVER_PORT_SECURE  Returns a string that contains 0 or 1. If the request is being handled on the secure port, it will be 1. Otherwise, it will be 0 
SERVER.SERVER_PROTOCOL  Returns the name and revision of the request information protocol 
SERVER.SERVER_SOFTWARE  Returns the name and version of the server software that answers the request and runs the gateway 
SERVER.URL  Returns the base portion of the URL 
Cookie.Name  Returns the content of the given cookie 

Note: Server side variables are expanded in dynamic deployment mode only.



Feedback? Bookmark this topic    Previous Next

We use the ABCpdf .NET PDF component for HTML to PDF conversion...