therequest.aspx
来自「用VB实现」· ASPX 代码 · 共 39 行
ASPX
39 行
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>引用Request对象</title>
</head>
<body>
<table width="624" border="1">
<tr>
<td width="173">项目</td>
<td width="435">内容</td>
</tr>
<tr>
<td>网页完整路径</td>
<td><% Response.write(Request.Path)%></td>
</tr>
<tr>
<td>网页绝对路径</td>
<td><% Response.write(Request.PhysicalApplicationPath)%></td>
</tr>
<tr>
<td>浏览器种类</td>
<td><% Response.write(Request.Browser.Browser)%></td>
</tr>
<tr>
<td>是否为安全连接</td>
<td><% Response.write(Request.IsSecureConnection)%></td>
</tr>
<tr>
<td>主机IP</td>
<td><% Response.write(Request.UserHostAddress)%></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?