using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class Ex6_3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
      lblserver.Text += "<br>服务器端IP地址：" + Request.ServerVariables["LOCAL_ADDR"];
      lblserver.Text += "<br>服务器的主机名称：" + Request.ServerVariables["HTTP_HOST"];
      lblserver.Text += "<br>用户账号：" + Request.ServerVariables["AUTH_USER"];
      lblserver.Text += "<br>虚拟目录的绝对地址：" + Request.ServerVariables["APPL_PHYSICAL_PATH"];

      lblBrow.Text += "<br>浏览器名称：" + Request.Browser["Browser"];
      lblBrow.Text += "<br>浏览器版本：" + Request.Browser["Version"];
      lblBrow.Text += "<br>是否支持Cookies：" + Request.Browser["Cookies"];
    }
}
