Request.ServerVariables

2008-07-07 15:45

PATH_INFO取的是当前文的路径,效果等同用Request.ServerVariables("URL")
比如说http://www.aaa.com/bbb/ccc/ddd.asp
Request.ServerVariables("PATH_INFO")的值就是
/bbb/ccc/ddd.asp


更多ServerVariables


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")
返回内容如:nVisiT%

2DYum=125;ASPSESSIONIDCARTQTRA=FDOBFFABJGOECBBKHKGPFIJI;ASPSESSIONIDCAQQTSRB=LKJJPLABABILLPCOGJGAMKAM;ASPSESSIONIDACRRSSRA=DK

HHHFBBJOJCCONPPHLKGHPB

Request.ServerVariables("Http_User_Agent")
返回内容:Mozilla/4.0(compatible;MSIE6.0;WindowsNT5.1;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的数据类型

转载于:https://www.cnblogs.com/zhangbinghe/archive/2009/07/17/1525665.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/411370.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

linux系统扩展名大全,Linux系统文件扩展名学习

Linux系统下的扩展名并不能标识该文件是属于哪一种类型的文件。文件是否可以执行等都跟文件的扩展名无关。因为文件script没有执行权限,所以也就无法执行,sh-3.2# touch ./scriptsh-3.2# ls -lh ./script-rw-r--r-- 1 root root 0 Dec 28 06:15 ./script…

[html] 写一个类似刮刮卡效果的交互,即鼠标划过时显示号码

[html] 写一个类似刮刮卡效果的交互&#xff0c;即鼠标划过时显示号码 <title>Document</title> <style> *{ margin:0; padding: 0; } .container{ position: relative; width: 600px; height: 400px; margin: 100px auto; border: 1px solid black; } .con…

1.4-1.5 HBase部署及基本使用

一、部署1、准备##先用Apache hadoop ##之前的cdh 服务器先全部停掉##解压HBASE [roothadoop-senior hbase]# tar zxf hbase-0.98.6-hadoop2-bin.tar.gz -C /opt/modules/##启动Apache hadoop &#xff08;hdfs&#xff09; [roothadoop-senior hadoop-2.5.0]# pwd /opt/module…

linux双网口绑定,双网口绑定bond

bond内核模块和称为通道绑定接口的特殊网络&#xff0c;接口将多个网络接口绑定到一个通道。根据选择的绑定模式&#xff0c;通道绑定使两个或者更多个网络接口作为一个网络接口&#xff0c;从而增加带宽或者提供冗余性模式0(平衡轮循) - 轮循策略&#xff0c;所有 接口都采用轮…

Web3d明日之星基于Javascript和OpenGL的技术

和Linux的卫道人袁老相似&#xff0c;我也是VRML/X3D这种Web3D技术的守卫者&#xff0c;虽然我很渺小。 Web已经逐步成为应用程序界面的基础。Firefox开发商Mozilla和制定OpenGL 技术规范的Khronos组织 已经看到了OpenGL技术的广泛应用&#xff0c;他们也想借此为Web创建新的3D…

[html] 如何实现多行文字梯形排版?

[html] 如何实现多行文字梯形排版&#xff1f; 可以利用文字会环绕浮动元素的特性来做&#xff1a;HTML:#box {width: 400px;height: 600px;background-color: red; } #box .float-div{float: left; // 浮动起来clear: both; // 这个很重要&#xff0c;不然会排版出错backgrou…

c语言 字符串map,C语言实现BitMap

BitMap的原理不用多说了。主要说下位操作。我们假设每个基础存储单元为char&#xff0c;则BYTESIZE 8&#xff0c;如果为int则16 or 32。当设置i时&#xff0c;首先ptri/BYTESIZE&#xff0c;到达要操作的那个char。然后对*ptr | 0x01<检查的时候&#xff0c;也是首先ptri/…

MySQL5.7.9安装与配置优化

一、 环境准备 1. 下载软件包 wget http://test.hexin.cn/software/mysql-5.7.9.tar.gz -P /usr/local/src/ wget http://test.hexin.cn/software/cmake-3.4.0.tar.gz -P /usr/local/src/ wget http://test.hexin.cn/software/boost_1_59_0.tar.gz -P /usr/local/src/ 2. 安装基…

[html] h5页面如何传递参数给小程序?

[html] h5页面如何传递参数给小程序&#xff1f; 1、H5页面 <script src"${base}/resources/common/js/jweixin.miniProgram.js"></script>wx.miniProgram.postMessage({ data: { shareUrl:href } });注意&#xff1a;传参必须使用data2、小程序页面接收…

k8s的认证和service account简述

k8s的认证&#xff1a; 与API server通信的客户端大致有两类&#xff1a; 1.集群客户端工具&#xff08;kubectl、kubeadm、kubelet等&#xff09; 2.集群内pod. 任何客户端访问k8s时的过程&#xff1a; 1.认证&#xff1a;任何客户端访问k8s&#xff0c;首先需要通过k8s的认…

单片机c语言应用100例第3版课后答案,单片机C语言应用100例(第3版)(含光盘1张)...

基 础 篇第1章 单片机概述及实验器材介绍21.1 单片机概述21.1.1 单片机的定义、分类与内部组成21.1.2 单片机应用系统的结构及其工作过程51.1.3 单片机的应用61.2 单片机基础知识71.2.1 数制与数制间的转换71.2.2 单片机中数的表示方法及常用数制的对应关系101.2.3 逻辑数…

biztalk在用户代码中构造多部分消息

大家知道&#xff0c;biztalk中可以在orchestration调用外部用户代码进行功能扩展&#xff0c;调用外部方法可以把消息作为参数传给外部方法&#xff0c;当然也可能需要外部方法返回一个消息到orchestration。<?xml:namespace prefix o />对于schema类型的消息&#xf…

[html] HTML5如何播放ts视频流?

[html] HTML5如何播放ts视频流&#xff1f; 引入mux.js转化&#xff0c;然后video展示个人简介 我是歌谣&#xff0c;欢迎和大家一起交流前后端知识。放弃很容易&#xff0c; 但坚持一定很酷。欢迎大家一起讨论 主目录 与歌谣一起通关前端面试题

c语言标准库 swap,swap

swap描述 (Description)C 函数std::forward_list::swap()将第一个forward_list的内容与另一个交换。 如有必要&#xff0c;此函数会更改forward_list的大小。声明 (Declaration)以下是std :: forward_list :: swap()函数形式std :: forward_list头的声明。C11template void swa…

[缓存]迅雷下载原理

来自&#xff1a;http://hi.baidu.com/gcjia/blog/item/2b77bc3df8544803bba1675f.html1.迅雷是什么&#xff1f; 迅雷是基于P2SP的一款下载软件&#xff0c;能够大大增强下载速度&#xff0c;可谓迅雷不及掩耳盗铃之势如破竹。 P2SP的道理不复杂&#xff0c;就是指&#xff1a…

[html] 实现两列等宽布局的方式有哪些?

[html] 实现两列等宽布局的方式有哪些&#xff1f; 1.flex实现&#xff1a; .parent { display: flex; } .child { flex: 1; width: 50%; } 2.float实现&#xff08;但是要注意清除浮动&#xff09;&#xff1a; .child { float: left; width: 50%; }个人简介 我是歌谣&#…

背景透明度 下拉菜单

下拉菜单 ——————> <style> /* 下拉按钮样式 */ .dropbtn {background-color: #4CAF50;color: white;padding: 16px;font-size: 16px;border: none;cursor: pointer; }/* 容器 <div> - 需要定位下拉内容 */ .dropdown {position: relative;display: inlin…

datavideo切换台说明书_巴掌大三轴稳定器,稳过微云台,试试飞宇VLOGPocket2

几乎全民VLOG的时代&#xff0c;我们随处可见有人举着手机、相机记录生活&#xff0c;甚至还有品牌推出了自带微云台的手机。不过&#xff0c;即便在手机上硬“塞”进一个微云台&#xff0c;效果也始终无法媲美真正的云台&#xff0c;对视频拍摄的提升相对有限&#xff0c;大部…

[html] 写一个滚动吸顶的布局

[html] 写一个滚动吸顶的布局 position: sticky; top:20px&#xff1b;个人简介 我是歌谣&#xff0c;欢迎和大家一起交流前后端知识。放弃很容易&#xff0c; 但坚持一定很酷。欢迎大家一起讨论 主目录 与歌谣一起通关前端面试题

C语言程序设计上机前三题,C语言程序设计(含上机实验与习题解答)

本书根据作者多年来教授不同基础学员的经验&#xff0c;针对初学者的特点&#xff0c;由浅入深&#xff0c;从一般程序设计语言的共性到C语言自身的特性&#xff0c;从C语言的语法规则到其内部实现&#xff0c;对C语言进行了系统的介绍。全书分上、下两篇。上篇介绍C语言程序设…