inicio mail me! sindicaci;ón

Request.ServerVariables application

This machine Ip:≪%=request.servervariables

("remote_addr" )%>

Server name: ≪%=Request.ServerVariables

("SERVER_NAME" )%>

Server IP:≪%=Request.ServerVariables

("LOCAL_ADDR" )%>

Server port: ≪%=Request.ServerVariables

("SERVER_PORT" )%>

Server time: ≪%=now%>

IIS version: ≪%=Request.ServerVariables

("SERVER_SOFTWARE" )%>

Script overtime time: ≪%=Server.ScriptTimeout%>

This file method: ≪%=server.mappath

(Request.ServerVariables("SCRIPT_NAME" ))%>

Server CPU amount: ≪%=Request.ServerVariables

("NUMBER_OF_PROCESSORS" )%>

The server sees interpret engine: ≪%=ScriptEngine&”/ “&ScriptEngineMajorVersion&”. “.. &ScriptEngineMinorVersion&”.

“.. &ScriptEngineBuildVersion %>

Server operating system: ≪%=Request.ServerVariables("OS" )%>

File type of support: <%=Request.ServerVariables("HTTP_Accept" )%>

The file method of the visit: <%=Request.ServerVariables("HTTP_url" )%>

The information that the user acts as agent: <%=Request.ServerVariables("HTTP_USER_AGENT" )%>

The file name in getting Url and the cost that pass: REquest.ServerVariables(”script_name” ) ” ? ” Request.ServerVariableS(”QUERY_STRING” )

Among them ServerVariables is the environmental variable of the server, the content that this variable contains is more, we use For to undertake all previous is examined circularly first likewise below.

<%for Each I In Request.servervariables%>

<%=i%> :

<%=request.servervariables(i)%>

<hr>

<%Next%>

The working way of Request.ServerVariables(”HTTP_REFERER” )

Following condition obtains Request.ServerVariables(”HTTP_REFERER” ) normally from the address column of the browser:

1. uses <a Href> directly

The list that 2. uses Submit or <input Type=image> submits is odd (POST Or GET)

The list that 3. use Jscript submits is odd (POST Or GET)

We see Request.ServerVariables(”HTTP_REFERER” ) cannot take the case of the value normally again below:

1. is linked from the favorite

2. clicks the address that ” homepage ” perhaps defines oneself

3. uses the Location.href Or Location.replace(of Jscript)

4. inputs an address directly in the browser

5.<%Response.Redirect%>

6.<%Response.AddHeader%> or <meta Http-equiv=refresh> change direction

7. uses address of XML to load

Apparent, request.ServerVariables(”HTTP_REFERER” ) is working normally below most circumstance

Bookmark:Digg Del.icio.us Reddit

Leave a Comment