查看所有的Server Variables的环境变量
2007-02-07 00:00
369 查看
下列代码保存为ASP文件就可以了
<table border=0 cellpadding=0 cellspacing=1 bgcolor="#d0c0F0">
<tr>
<td><table border=0 cellpadding=3 cellspacing=0 bgcolor="#F0F0F8">
<tR bgcolor="#d0c0f0">
<td><b>Variable Name</b></td>
<td><b>Value</b></td>
</tr>
<%
With response
For Each sKey In Request.ServerVariables
.Write "<tR>" & vbCrLf
.Write vbTab & "<td valign=""top""><b>" & sKey & "</b></td>" & vbCrLf
.Write vbTab & "<td>" & Request.ServerVariables(sKey) & "</td>" & vbCrLf
.Write "</tR>" & vbCrLf
Next
End With
%>
</table></td>
</tr>
</table>
<table border=0 cellpadding=0 cellspacing=1 bgcolor="#d0c0F0">
<tr>
<td><table border=0 cellpadding=3 cellspacing=0 bgcolor="#F0F0F8">
<tR bgcolor="#d0c0f0">
<td><b>Variable Name</b></td>
<td><b>Value</b></td>
</tr>
<%
With response
For Each sKey In Request.ServerVariables
.Write "<tR>" & vbCrLf
.Write vbTab & "<td valign=""top""><b>" & sKey & "</b></td>" & vbCrLf
.Write vbTab & "<td>" & Request.ServerVariables(sKey) & "</td>" & vbCrLf
.Write "</tR>" & vbCrLf
Next
End With
%>
</table></td>
</tr>
</table>
相关文章推荐
- 查看所有的Server Variables的环境变量
- Request.ServerVariables环境变量的所有参数
- 查看所有系统环境变量
- Request.ServerVariables获取环境变量
- HttpContext.Current.Request.ServerVariables 所有命名的服务器变量的名称和值。
- 使用Request.ServerVariables获取环境变量
- Request.ServerVariables获取环境变量
- Request.ServerVariables获取环境变量
- Request.ServerVariables获取环境变量整理
- Request.ServerVariables获取环境变量
- Request.ServerVariables ASP环境 服务器变量
- 使用Request.ServerVariables获取环境变量
- Request.ServerVariables获取环境变量
- 通过SET查看所有环境变量的名称和值
- HttpContext.Current.Request.ServerVariables 所有命名的服务器变量的名称和值
- request.ServerVariables获取环境变量
- Request.ServerVariables获取环境变量
- Request.ServerVariables获取环境变量
- Request.ServerVariables获取环境变量
- ServerVariables 集合检索预定的环境变量。