作家
登录

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

作者: 来源:www.28hudong.com 2013-03-30 08:46:55 阅读 我要评论

下列代码保存为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>

  推荐阅读

  改进性能和样式的24个ASP 技巧

简介 技巧 1:在 Web 服务器上缓存常用数据 技巧 2:在 Application 或 Session 对象中缓存常用数据 技巧 3:在 Web 服务器磁盘上缓存数据和 HTML 技巧 4:避免在 Application 或 Session 对象中缓存非灵活组件>>>详细阅读


本文标题:查看所有的Server Variables的环境变量

地址:http://www.17bianji.com/kaifa2/ASP/32738.html

关键词: 探索发现

乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

网友点评
自媒体专栏

评论

热度

精彩导读
栏目ID=71的表不存在(操作类型=0)