asp.net中Request的用法

        Response.Write("<br>上一个网页传送值:" + Request.QueryString["name"]);
        Response.Write("<br>当前网页虚拟路径:" + Request.RawUrl);
        Response.Write("<br>当前网页虚拟路径:" + Request.ServerVariables["url"]);
        Response.Write("<br>实际目录:" + Request.PhysicalApplicationPath);
        Response.Write("<br>实际地址:" + Request.PhysicalPath);
        Response.Write("<br>实际地址:" + Request.ServerVariables["path_translated"]);
        Response.Write("<br>服务器名:" +Request.ServerVariables["server_name"]);
        Response.Write("<br>服务器IP:" + Request.UserHostName);
        Response.Write("<br>服务器IP:" + Request.UserHostAddress);
        Response.Write("<br>服务器传送方式:" + Request.RequestType);
        Response.Write("<br>当前浏览器是否支持背景音乐:" + Request.Browser.BackgroundSounds);
        Response.Write("<br>浏览器是否支持框架" + Request.Browser.Frames);
        Response.Write("<br>当前使用的操作系统" + Request.Browser.Platform);
 

 

你可能感兴趣的:(.net,浏览器,asp.net,asp,音乐)