一个比较全面的探测器
<Script language=JScript runat=server>response.write("JScript支持=<b>"+ScriptEngine()+"</b><br>");
response.write("buildversion=<b>"+ScriptEngineBuildVersion()+"</b><br>");
response.write("majorversion=<b>"+ScriptEngineMajorVersion()+"</b><br>");
response.write("minorversion=<b>"+ScriptEngineMinorVersion()+"</b>");
</Script>
<%
response.write"<hr>"
response.write"VBScript支持=<b>" & Scriptengine() & "</b><br>"
response.write"buildversion=<b>" & Scriptenginebuildversion() & "</b><br>"
response.write"majorversion=<b>" & Scriptenginemajorversion() & "</b><br>"
response.write"minorversion=<b>" & Scriptengineminorversion() & "</b><br>"
response.write"<hr>"
servername=request.servervariables("server_name")
response.write"服务器虚拟路径=<b>http://"
response.write servername & "</b> 你服务器的虚拟路径!<br>"
pathtranslated=request.servervariables("path_translated")
response.write"服务器绝对路径=<b>"
response.write pathtranslated & "</b> 服务器绝对路径<br>"
response.write"<hr>"
serverport=request.servervariables("server_port")
response.write"数据请求端口=<b>"
response.write serverport & "</b> 数据请求端口<br>"
response.write"<hr>"
remoteaddr=request.servervariables("remote_addr")
response.write"您的IP地址=<b>"
response.write remoteaddr & "</b> 你的IP地址<br>"
补充:asp教程,技巧与性能优化