asp
ASP 서버변수 값들 확인 스크립트
duraboys
2007. 5. 2. 23:54
<%@ language = JavaScript %>
<HTML>
<HEAD>
<TITLE>ASP 2.0 Demo</TITLE>
</HEAD>
<BODY>
<table width="100% align="center" border="1" style="font-size:9pt">
<%
items = new Enumerator(Request.ServerVariables)
while (!items.atEnd()) {
i = items.item();
Response.Write ("<tr onMouseOver=this.style.backgroundColor='f4f4f4' onMouseOut=this.style.backgroundColor='white'>");
Response.Write ("<td>" +i+ "</td>");
Response.Write ("<td>" +Request.ServerVariables(i)+ "</td>");
Response.Write ("</tr>");
items.moveNext();
}
%>
</table>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE>ASP 2.0 Demo</TITLE>
</HEAD>
<BODY>
<table width="100% align="center" border="1" style="font-size:9pt">
<%
items = new Enumerator(Request.ServerVariables)
while (!items.atEnd()) {
i = items.item();
Response.Write ("<tr onMouseOver=this.style.backgroundColor='f4f4f4' onMouseOut=this.style.backgroundColor='white'>");
Response.Write ("<td>" +i+ "</td>");
Response.Write ("<td>" +Request.ServerVariables(i)+ "</td>");
Response.Write ("</tr>");
items.moveNext();
}
%>
</table>
</BODY>
</HTML>