request获取ip地址浏览器信息等
电脑版发表于:2020/11/2 11:44
code:
//请求方式; Response.Write("请求方式:" + Request.RequestType + "<br/>"); Response.Write("请求的页面:" + Request.RawUrl + "<br/>"); Response.Write("客户使用的浏览器:" + Request.UserAgent + "<br/>"); Response.Write("客户使用的Ip地址:" + Request.UserHostAddress + "<br/>");