[asp]代码库
protected void Page_Load(object sender, EventArgs e)
{
Response.Write("<font size=5>浏览器称号和版本号:<font/>" + Request.Browser.Type + "<br/>");
Response.Write("浏览器称号:" + Request.Browser.Browser + "<br/>");
Response.Write("客户端能无法支持cookie:" + Request.Browser.Cookies + "<br/>");
Response.Write("浏览器平台:" + Request.Browser.Platform + "<br/>");
Response.Write("客户端ip地址:" + Request.UserHostAddress + "<br/>");
Response.Write("客户端DNS:" + Request.UserHostName + "<br/>");
Response.Write("现在央求的URL:" + Request.Url + "<br/>");
Response.Write("现在央求的虚拟途径:" + Request.Path + "<br/>");
Response.Write("现在央求的物理途径:" + Request.PhysicalApplicationPath + "<br/>");
}
初级程序员
by: 我的程序员之路 发表于:2013-05-19 20:35:11 顶(2) | 踩(0) 回复
好亲切!
回复评论