ASP.NET的Request对象的属性介绍

本文介绍ASP.NET中Request对象的各种属性,包括客户端信息、URL、安全连接状态等,为初学者提供了一个全面的参考。
本文主要介绍一下 ASP.netRequest 对象的属性,对新手朋友来说是个不错的参考对照文章。

  UserLanguages 客户端主机所使用的<nobr oncontextmenu="return false;" id="key1" onmousemove="kwM(2);" onmouseover="kwE(event,2, this);" onclick="return kwC();" target="_blank" onmouseout="kwL(event, this);" style="COLOR: #6600ff; BORDER-BOTTOM: #6600ff 1px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline">语言</nobr>

  UserHostName 客户端主机的DNS名称

  userHostArrress 客户端主机的IP地址

  UserAgent <nobr oncontextmenu="return false;" id="key4" onmousemove="kwM(6);" onmouseover="kwE(event,6, this);" onclick="return kwC();" target="_blank" onmouseout="kwL(event, this);" style="COLOR: #6600ff; BORDER-BOTTOM: 0px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline">客户</nobr>端浏览器版本

  Url 当前要求的URL

  TotalBytes 当前输入的容量大小

  ServerVariables 网页的Server变量

  RequestType 客户端网页的传送方式(Get/Post)

  RawUrl 当前页面的U『RL

  QueryString 浏览器地址栏后的参数

  PhysicalPath 当前网页在服务器端的实际路径

  PhysicalApplicationPath 当前在服务器端执行的<nobr oncontextmenu="return false;" id="key3" onmousemove="kwM(4);" onmouseover="kwE(event,4, this);" onclick="return kwC();" target="_blank" onmouseout="kwL(event, this);" style="COLOR: #6600ff; BORDER-BOTTOM: #6600ff 1px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline">程序</nobr>的实际路径

  Pathq 当前网页的相对地址

  Params 返回QueryString、Form、Cookies、ServerVariables的全部集合,中国自学编程网,www.zxbc.cn。

  IsSecureConnection 目前联机的<nobr oncontextmenu="return false;" id="key2" onmousemove="kwM(3);" onmouseover="kwE(event,3, this);" onclick="return kwC();" target="_blank" onmouseout="kwL(event, this);" style="COLOR: #6600ff; BORDER-BOTTOM: #6600ff 1px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline">安全</nobr>性

  IsAuthenticated 目前联机是否有效

  HttpMethod 目前客户端网页的传送方式(Get/Post)

  Headers 网页的标题集合

  Form 窗体变量

  Files 客户端上传的文件

  FilePath 当前执行网页的相对地址

  Cookies HttpCookieCollection对象集合

  ContentType 当前需求的MIME内容类型

  ContentEncoding 客户端浏览器的字符设置 -

  ConnectionlD 客户端所提出的网页浏览请求的联机的ID

  ClientCertificate 客户端安全认证<nobr oncontextmenu="return false;" id="key0" onmousemove="kwM(0);" onmouseover="kwE(event,0, this);" onclick="return kwC();" target="_blank" onmouseout="kwL(event, this);" style="COLOR: #6600ff; BORDER-BOTTOM: #6600ff 1px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline">信息</nobr>

  Browser 客户端浏览器的信息

  AnnlicationPath 当前运行程序的服务器端虚拟目录

 
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值