Request.ServerVariables参数说明
Request.ServerVariables["SERVER_NAME"] '获取服务器IP
Request.ServerVariables["HTTP_REFERER"] '获取访问来源页面
Request.ServerVariables["OS"] '获取操作系统
request.ServerVariables["APPL_PHYSICAL_PATH"] '获取IIS物理路径
Request.ServerVariables["SCRIPT_NAME"] '获取虚拟路径
Request.ServerVariables["NUMBER_OF_PROCESSORS"] '获取服务器CPU个数
Request.ServerVariables["SERVER_PORT"] '服务器处理请求的端口
Request.ServerVariables["Url"] 返回服务器地址
Request.ServerVariables["Path_Info"] 客户端提供的路径信息
Request.ServerVariables["Appl_Physical_Path"] 与应用程序元数据库路径相应的物理路径
Request.ServerVariables["Path_Translated"] 通过由虚拟至物理的映射后得到的路径
Request.ServerVariables["Script_Name"] 执行脚本的名称
Request.ServerVariables["Query_String"] 查询字符串内容
Request.ServerVariables["Http_Referer"] 请求的字符串内容
Request.ServerVariables["Server_Port"] 接受请求的服务器端口号
Request.ServerVariables["Remote_Addr"] 发出请求的远程主机的IP地址
Request.ServerVariables["Remote_Host"] 发出请求的远程主机名称
Request.ServerVariables["Local_Addr"] 返回接受请求的服务器地址
Request.ServerVariables["Http_Host"] 返回服务器地址
Request.ServerVariables["Server_Name"] 服务器的主机名、DNS地址或IP地址
Request.ServerVariables["Request_Method"] 提出请求的方法比如GET、HEAD、POST等等
Request.ServerVariables["Server_Port_Secure"] 如果接受请求的服务器端口为安全端口时,则为1,否则为0
Request.ServerVariables["Server_Protocol"] 服务器使用的协议的名称和版本
Request.ServerVariables["Server_Software"] 应答请求并运行网关的服务器软件的名称和版本
Request.ServerVariables["All_Http"] 客户端发送的所有HTTP标头,前缀HTTP_
Request.ServerVariables["All_Raw"] 客户端发送的所有HTTP标头,其结果和客户端发送时一样,没有前缀HTTP_
Request.ServerVariables["Appl_MD_Path"] 应用程序的元数据库路径
Request.ServerVariables["Content_Length"] 客户端发出内容的长度
Request.ServerVariables["Https"] 如果请求穿过安全通道(SSL),则返回ON如果请求来自非安全通道,则返回OFF
Request.ServerVariables["Instance_ID"] IIS实例的ID号
Request.ServerVariables["Instance_Meta_Path"] 响应请求的IIS实例的元数据库路径
Request.ServerVariables["Http_Accept_Encoding"] 返回内容如:gzip,deflate
Request.ServerVariables["Http_Accept_Language"] 返回内容如:en-us
Request.ServerVariables["Http_Connection"] 返回内容:Keep-Alive
Request.ServerVariables["Http_Cookie"] 返回内容:Cookie的值
Request.ServerVariables["Http_User_Agent"] 返回内容:Mozilla/4.0[compatible;MSIE6.;WindowsNT5.;SV1]
Request.ServerVariables["Https_Keysize"] 安全套接字层连接关键字的位数,如128
Request.ServerVariables["Https_Secretkeysize"] 服务器验证私人关键字的位数如1024
Request.ServerVariables["Https_Server_Issuer"] 服务器证书的发行者字段
Request.ServerVariables["Https_Server_Subject"] 服务器证书的主题字段
Request.ServerVariables["Auth_Password"] 当使用基本验证模式时,客户在密码对话框中输入的密码
Request.ServerVariables["Auth_Type"] 是用户访问受保护的脚本时,服务器用於检验用户的验证方法
Request.ServerVariables["Auth_User"] 代证的用户名
Request.ServerVariables["Cert_Cookie"] 唯一的客户证书ID号
Request.ServerVariables["Cert_Flag"] 客户证书标志,如有客户端证书,则bit0为0如果客户端证书验证无效,bit1被设置为1
Request.ServerVariables["Cert_Issuer"] 用户证书中的发行者字段
Request.ServerVariables["Cert_Keysize"] 安全套接字层连接关键字的位数,如128
Request.ServerVariables["Cert_Secretkeysize"] 服务器验证私人关键字的位数如1024
Request.ServerVariables["Cert_Serialnumber"] 客户证书的序列号字段
Request.ServerVariables["Cert_Server_Issuer"] 服务器证书的发行者字段
Request.ServerVariables["Cert_Server_Subject"] 服务器证书的主题字段
Request.ServerVariables["Cert_Subject"] 客户端证书的主题字段
Request.ServerVariables["Content_Type"] 客户发送的form内容或HTTPPUT的数据类型
Request.ServerVariables参数说明的更多相关文章
- 转载 asp.net的Request.ServerVariables参数说明
转载原地址: http://blog.csdn.net/vincent_void/article/details/7739338 当讨论Request对象内容时,要研究的集合之一就是ServerVar ...
- asp.net的Request.ServerVariables参数说明
Request.ServerVariables["SERVER_NAME"] '获取服务器IPRequest.ServerVariables["HTTP_REFERER& ...
- c#中获取服务器IP,客户端IP以及Request.ServerVariables详细说明
客户端ip: Request.ServerVariables.Get("Remote_Addr").ToString(); 客户端主机名: Request.ServerVaria ...
- Request.ServerVariables详细说明
客户端ip: Request.ServerVariables.Get("Remote_Addr").ToString(); 客户端主机名: Request.ServerVaria ...
- Request.ServerVariables 获取服务器或者客户端信息
本机ip[客户端]:request.servervariables("remote_addr") 从哪个页面转到当前页面的:Request.ServerVariables(&quo ...
- Request.ServerVariables 参数大全
Request.ServerVariables("Url") 返回服务器地址 Request.ServerVariables("Path_Info") 客户端提 ...
- ASP Request.ServerVariables 参数集
转自:http://blog.csdn.net/chinmo/article/details/2096871 Request.ServerVariables("Url") 返回服务 ...
- this.Page.Request.ServerVariables
服务器环境变量 指定要检索的服务器环境变量名.可以使用下面列出的值. 变量 说明 ALL_HTTP 客户端发送的所有 HTTP 标题文件. ALL_RAW 检索未处理表格中所有的标题.ALL_RAW ...
- asp.net Request.ServerVariables[] 读解
获取客户端的IP地址,代码如下: /// <summary> /// 获取客户端IP地址 /// </summary> /// <returns></retu ...
随机推荐
- 8.5 GOF设计模式四: 观察者模式Observer
GOF设计模式四: 观察者模式Observer 现实中遇到的问题 当有许多不同的客户都对同一数据源感兴趣,对相同的数据有不同的处理方式,该如 何解决?5.1 定义: 观察者模式 观察者模式 ...
- linux 每天一点点 【ubuntu16.04 】
1.查看防火墙状态 sudo ufw status [非root用户需要sudo] inactive状态是防火墙关闭状态 active是开启状态 2.查看CentOS版本信息 cat /etc ...
- Android proguard混淆签名打包出现"android proguard failed to export application"解决方案
刚刚接触安卓,不是很熟悉.发现之前可以正常打包的项目出现添加混淆再进行打包签名的APK之后提示"android proguard failed to export application&q ...
- 2015-10-27 C#3
三.字符串拼凑stringbuilder stringbuilder sb= new stringbuilder(); sb.append("aaa"); sb.append(&q ...
- Node.js知识点总结
1. 回调函数 当程序跑起来时,一般情况下,应用程序(application program)会时常通过API调用库里所预先备好的函数.但是有些库函数(library function)却要求应用先传 ...
- require 4种引入方式的区别
以下四种引入方式的区别: 自己创建的包里面封装了一些方法,只是把aa文件夹放在了node_modules文件夹里,所以在引用时,不需要写上相对路径,也不能在网上下载 这是网上别人封装好了的包,下载好了 ...
- 干货!一篇文章集合所有Linux基础命令
1 文件{ls -rtl # 按时间倒叙列出所有目录和文件 ll -rttouch file # 创建空白文件rm -rf 目录名 # 不提示删除非空目录(-r:递归删除 -f强制)dos2unix ...
- 使用MobaXterm远程连接Ubuntu,启动Octave,界面不能正常显示
使用MobaXterm远程连接Ubuntu,启动Octave,界面不能正常显示,键盘输入无法显示,解决方法如下. 在启动octave之前,输入这两个命令: export GTK_MODULES=gai ...
- java实现二维码的生成.
目录 1.二维码概念 2.二维码发展历史 3.二维码分类 4.二维码优缺点 5.QR Code 1.二维码又称 二维条码 (2-dimensional bar code)是用某种特定的几何 ...
- Https 单向验证 双向验证
通讯原理 participant Client participant Server Client->>Server: 以明文传输数据,主要有客户端支持的SSL版本等客户端支持的加密信息 ...