'이건 포스트로 넘어오는값을 찍어주는거
For Each objItem In Request.Form
makestr = objItem & " = "
makestr = makestr & "Request(" & chr(34) & objItem & chr(34) & ")"
Response.Write makestr & " ': " & Request.Form(objItem) & ""
Response.Write "
"
Next
'이것은 Get 방식으로 넘어오는 값을 찍어주는거.
For Each objItem In Request.querystring
makestr = objItem & " = "
makestr = makestr & "Request(" & chr(34) & objItem & chr(34) & ")"
Response.Write makestr & " ': " & Request.Form(objItem) & ""
Response.Write "
"
Next
For Each value In request.cookies
response.write value & ": "
response.write request.cookies(value) & "
"
Next
response.write "contents: " & session.sessionID & "
"
For Each value In session.contents
response.write value & ": " & session(value) & "
"
Next
'서버벙보
For Each value In Request.ServerVariables
response.write value & ": "
response.write Request.ServerVariables(value) & chr(13)
Next
For Each objItem In Request.Form
makestr = objItem & " = "
makestr = makestr & "Request(" & chr(34) & objItem & chr(34) & ")"
Response.Write makestr & " ': " & Request.Form(objItem) & ""
Response.Write "
"
Next
'이것은 Get 방식으로 넘어오는 값을 찍어주는거.
For Each objItem In Request.querystring
makestr = objItem & " = "
makestr = makestr & "Request(" & chr(34) & objItem & chr(34) & ")"
Response.Write makestr & " ': " & Request.Form(objItem) & ""
Response.Write "
"
Next
For Each value In request.cookies
response.write value & ": "
response.write request.cookies(value) & "
"
Next
response.write "contents: " & session.sessionID & "
"
For Each value In session.contents
response.write value & ": " & session(value) & "
"
Next
'서버벙보
For Each value In Request.ServerVariables
response.write value & ": "
response.write Request.ServerVariables(value) & chr(13)
Next
반응형
'lang > asp' 카테고리의 다른 글
성능 및 스타일 향상에 도움이 되는 28가지 ASP 팁 (0) | 2006.10.20 |
---|---|
ASP 만료페이지 처리 (0) | 2006.10.20 |
ASP 함수모음 (0) | 2006.10.20 |
ASP, MSSQL 트랙백 (0) | 2006.10.20 |
ASP 정규표현식, 태그삭제, 자동링크 (0) | 2006.10.20 |