查看所有的Server Variables的环境变量

所属分类: 网络编程 / ASP编程 阅读数: 947
收藏 0 赞 0 分享
下列代码保存为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>
更多精彩内容其他人还在看

ASP 指南

ASP 指南
收藏 0 赞 0 分享

改进 ASP 的字符串处理性能

改进 ASP 的字符串处理性能
收藏 0 赞 0 分享

pjblog2的参数第1/2页

pjblog2的参数
收藏 0 赞 0 分享

ASP智能搜索的实现

ASP智能搜索的实现
收藏 0 赞 0 分享

网站生成静态页面攻略2:数据采集

网站生成静态页面攻略2:数据采集
收藏 0 赞 0 分享

网站生成静态页面攻略3:防采集策略

网站生成静态页面攻略3:防采集策略
收藏 0 赞 0 分享

网站生成静态页面攻略4:防采集而不防搜索引擎策略

网站生成静态页面攻略4:防采集而不防搜索引擎策略
收藏 0 赞 0 分享

简单分页函数一 常用

简单分页函数一 常用
收藏 0 赞 0 分享

asp最常用的分页函数

asp最常用的分页函数
收藏 0 赞 0 分享

LINE9的目录浏览源程序

LINE9的目录浏览源程序
收藏 0 赞 0 分享
查看更多