ASP.NET中Server与Request对象的方法
2009-02-03 14:24
387 查看
Server 对象的方法:
UrlEncode(ByVal String As String)As String 将URL字符串编码
UrlDecode(ByVal String As String)As String 将编码后的URL字符串解码
MapPath(ByVal path As String)As String MaDPath 取得文件的实际路径
HtmlEncode(ByVal String As String)As StringHtmlEncode 将字符串编码为HTML数据
HtmlDecode(ByVal String As String)As String HtmlDecode 将HTML编码后的数据解码还原为HTML
Request 对象的属性
UserLanguages 客户端主机所使用的语言
UserHostName 客户端主机的DNS名称
userHostArrress 客户端主机的IP地址
UserAgent 客户端浏览器版本
Url 当前要求的URL
TotalBytes 当前输入的容量大小
ServerVariables 网页的Server变量
RequestType 客户端网页的传送方式(Get/Post)
RawUrl 当前页面的U『RL
QueryString 浏览器地址栏后的参数
PhysicalPath 当前网页在服务器端的实际路径
PhysicalApplicationPath 当前在服务器端执行的程序的实际路径
Pathq 当前网页的相对地址
Params 返回QueryString、Form、Cookies、ServerVariables的全部集合
IsSecureConnection 目前联机的安全性
IsAuthenticated 目前联机是否有效
HttpMethod 目前客户端网页的传送方式(Get/Post)
Headers 网页的标题集合
Form 窗体变量
Files 客户端上传的文件
FilePath 当前执行网页的相对地址
Cookies HttpCookieCollection对象集合
ContentType 当前需求的MIME内容类型
ContentEncoding 客户端浏览器的字符设置 -
ConnectionlD 客户端所提出的网页浏览请求的联机的ID
ClientCertificate 客户端安全认证信息
Browser 客户端浏览器的信息
AnnlicationPath 当前运行程序的服务器端虚拟目录
UrlEncode(ByVal String As String)As String 将URL字符串编码
UrlDecode(ByVal String As String)As String 将编码后的URL字符串解码
MapPath(ByVal path As String)As String MaDPath 取得文件的实际路径
HtmlEncode(ByVal String As String)As StringHtmlEncode 将字符串编码为HTML数据
HtmlDecode(ByVal String As String)As String HtmlDecode 将HTML编码后的数据解码还原为HTML
Request 对象的属性
UserLanguages 客户端主机所使用的语言
UserHostName 客户端主机的DNS名称
userHostArrress 客户端主机的IP地址
UserAgent 客户端浏览器版本
Url 当前要求的URL
TotalBytes 当前输入的容量大小
ServerVariables 网页的Server变量
RequestType 客户端网页的传送方式(Get/Post)
RawUrl 当前页面的U『RL
QueryString 浏览器地址栏后的参数
PhysicalPath 当前网页在服务器端的实际路径
PhysicalApplicationPath 当前在服务器端执行的程序的实际路径
Pathq 当前网页的相对地址
Params 返回QueryString、Form、Cookies、ServerVariables的全部集合
IsSecureConnection 目前联机的安全性
IsAuthenticated 目前联机是否有效
HttpMethod 目前客户端网页的传送方式(Get/Post)
Headers 网页的标题集合
Form 窗体变量
Files 客户端上传的文件
FilePath 当前执行网页的相对地址
Cookies HttpCookieCollection对象集合
ContentType 当前需求的MIME内容类型
ContentEncoding 客户端浏览器的字符设置 -
ConnectionlD 客户端所提出的网页浏览请求的联机的ID
ClientCertificate 客户端安全认证信息
Browser 客户端浏览器的信息
AnnlicationPath 当前运行程序的服务器端虚拟目录
相关文章推荐
- 在ASP.NET中用JS如何调用Server端方法?
- ASP.net中的Server.UrlEncode方法和ASP中的Server.URLEncode
- 【Asp.Net】server.MapPath的几种路径表示方法
- asp.net Server.MapPath方法注意事项第1/2页
- EXTASPNET C# ASP.NET sql server 调用存储过程超时,解决方法
- asp.net .ashx,cs文件使用server.mappath解决方法
- ASP.NET中使用Server.Transfer()方法在页间传值
- ASP.NET MVC 3仿Server.Transfer效果的实现方法
- ASP.NET中使用Server.Transfer()方法在页间传值
- IIS出现server application error+没有对“C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files”访问权限解决方法
- EXTASPNET C# ASP.NET sql server 调用存储过程超时,解决方法
- asp.net .ashx文件使用server.mappath解决方法
- ASP.NET中使用Server.Transfer()方法在页间传值
- VS2005中用firefox访问 Asp.net Development Server 的站点的方法
- asp.net .ashx,cs文件使用server.mappath解决方法
- ASP.NET中使用Server.Transfer()方法在页间传值 http://www.jaron.cn/chs_scripts/9/2004-09/101590.shtml
- ASP.NET中使用Server.Transfer()方法在页间传值
- ASP.NET DEVELOPMENT SERVER 未能开始侦听端口的解决方法
- asp.net .ashx,cs文件使用server.mappath解决方法
- ASP.NET中使用Server.Transfer()方法在页间传值