%@ LANGUAGE = VBScript %> <% Option Explicit %>
==========================================================
The below script:
Response.Write Request.ServerVariables("PATH_INFO")
Produces: <%Response.Write Request.ServerVariables("PATH_INFO")%>
The below script:
Response.Write Server.MapPath("./")
Produces: <%Response.Write Server.MapPath("./")%> (The current directory)
The below script:
Response.Write Server.MapPath("/")
Produces: <%Response.Write Server.MapPath("/")%> (The root directory of the web site)
AUTH_PASSWORD = <%Response.Write Request.ServerVariables("AUTH_PASSWORD")%>
Returns the value entered in the client's authentication dialog
AUTH_TYPE = <%Response.Write Request.ServerVariables("AUTH_TYPE")%>
The authentication method that the server uses to validate users
AUTH_USER = <%Response.Write Request.ServerVariables("AUTH_USER")%>
Returns the raw authenticated user name
CERT_COOKIE = <%Response.Write Request.ServerVariables("CERT_COOKIE")%>
Returns the unique ID for client certificate as a string
CERT_FLAGS = <%Response.Write Request.ServerVariables("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
CERT_ISSUER = <%Response.Write Request.ServerVariables("CERT_ISSUER")%>
Returns the issuer field of the client certificate
CERT_KEYSIZE = <%Response.Write Request.ServerVariables("CERT_KEYSIZE")%>
Returns the number of bits in Secure Sockets Layer connection key size
CERT_SECRETKEYSIZE = <%Response.Write Request.ServerVariables("CERT_SECRETKEYSIZE")%>
Returns the number of bits in server certificate private key
CERT_SERIALNUMBER = <%Response.Write Request.ServerVariables("CERT_SERIALNUMBER")%>
Returns the serial number field of the client certificate
CERT_SERVER_ISSUER = <%Response.Write Request.ServerVariables("CERT_SERVER_ISSUER")%>
Returns the issuer field of the server certificate
CERT_SERVER_SUBJECT = <%Response.Write Request.ServerVariables("CERT_SERVER_SUBJECT")%>
Returns the subject field of the server certificate
CERT_SUBJECT = <%Response.Write Request.ServerVariables("CERT_SUBJECT")%>
Returns the subject field of the client certificate
CONTENT_LENGTH = <%Response.Write Request.ServerVariables("CONTENT_LENGTH")%>
Returns the length of the content as sent by the client
CONTENT_TYPE = <%Response.Write Request.ServerVariables("CONTENT_TYPE")%>
Returns the data type of the content
GATEWAY_INTERFACE = <%Response.Write Request.ServerVariables("GATEWAY_INTERFACE")%>
Returns the revision of the CGI specification used by the server
HTTP_ HTTP_ACCEPT = <%Response.Write Request.ServerVariables("HTTP_ACCEPT")%> HTTP_ACCEPT_LANGUAGE = <%Response.Write Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")%> HTTP_COOKIE = <%Response.Write Request.ServerVariables("HTTP_COOKIE")%>
Returns the value stored in the header HeaderName
Returns the value of the Accept header
Returns a string describing the language to use for displaying content
Returns the cookie string included with the request