Request.ServerVariables 값 표시
asp로 개발을 하다보면 사용할때가 있는데 전부 기억할 수 없어 간단하게 메모 해 놓고 참고합니다.
<table border=1>
<% For Each key in Request.ServerVariables %>
<tr>
<td><%=key%></td>
<td>
<%
If Request.ServerVariables(key) = "" Then
Response.Write "None"
Else
Response.Write Request.ServerVariables(key)
End If
%>
</td>
</tr>
<%Next%>
</table>
한번 쭈욱~ 살펴 보시면 "아!그렇구나~" 하실겁니다...ㅎㅎ
보기 편하게 테이블로 구성되었습니다.
'개발 > asp' 카테고리의 다른 글
[asp] CLOB 데이터 저장, 읽기 (0) | 2012.01.31 |
---|---|
[asp] 다른사이트 불러오기 (0) | 2011.12.16 |
[asp] Decode된걸 복구하기 (0) | 2011.08.25 |
[asp] RegExp를 이용한 정규식(?) (0) | 2010.08.18 |
[ASP] DateAdd함수 (0) | 2010.07.14 |