///取上一页地址
Response.Write(Request.ServerVariables["HTTP_REFERER"].ToString() + "<Br/>");
///取服务器名称(不包括端口号)
Response.Write(Request.ServerVariables["SERVER_NAME"].ToString() + "<Br/>");
///取服务器名称(包括端口号)
Response.Write(Request.ServerVariables["HTTP_HOST"].ToString() + "<Br/>");
///取服务器ip
Response.Write(Request.ServerVariables["LOCAL_ADDR"].ToString() + "<Br/>");
///取用户ip
Response.Write(Request.ServerVariables["Remote_Host"].ToString() + "<Br/>");
///取用户真实ip
Response.Write(Request.ServerVariables["REMOTE_ADDR"].ToString() + "<Br/>");
///取服务器端口号
Response.Write(Request.ServerVariables["SERVER_PORT"].ToString() + "<Br/>");
///取服务器的绝对路径
Response.Write(Request.ServerVariables["APPL_PHYSICAL_PATH"].ToString() + "<Br/>");
///取本文件的绝对路径1
Response.Write(Request.ServerVariables["PATH_TRANSLATED"].ToString() + "<Br/>");
///取本文件的绝对路径2
Response.Write(Request.ServerVariables["script_NAME"].ToString() + "<Br/>");
///取本文件的绝对路径3
Response.Write(Request.ServerVariables["PATH_INFO"].ToString() + "<Br/>");
///取地址栏后的参数
Response.Write(Request.ServerVariables["QUERY_STRING"].ToString() + "<Br/>");
///取服务器语言信息
Response.Write(Request.ServerVariables["HTTP_ACCEPT_LANGUAGE"].ToString() + "<Br/>");
///取客户端系统信息
Response.Write(Request.ServerVariables["HTTP_USER_AGENT"].ToString() + "<Br/>");
原文地址:http://www.cnblogs.com/zwffff/archive/2009/04/18/1438567.html