HttpBrowserCapabilities b = Request.Browser;
        Response.Write("客户端浏览器信息:");
        Response.Write("<hr>");
        Response.Write("类型:"+b.Browser+"<br>");
        Response.Write("操作系统:" + b.Platform + "<br>");
        Response.Write("是否支持cookies:"+b.Cookies+"<br>");
        string ipstring=Request.UserHostAddress;
        Response.Write("客户端ip地址:" + ipstring + "<br>");
        string serverip = Request.ServerVariables["REMOTE_ADDR"];
        Response.Write("服务器端ip地址:" + serverip + "<br>");