'이건 포스트로 넘어오는값을 찍어주는거

For Each objItem In Request.Form

    makestr = objItem & " = "

    makestr = makestr & "Request(" & chr(34) & objItem & chr(34) & ")"

    Response.Write makestr & " ': " & Request.Form(objItem) & ""
 Response.Write "<br>"

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 "<br>"
Next


For Each value In request.cookies
  response.write value & ": "
  response.write request.cookies(value) & "<br>"
Next

response.write "contents: " & session.sessionID & "<br>"
For Each value In session.contents
  response.write value & ": " & session(value) & "<br>"
Next

'asp' 카테고리의 다른 글

isNull, isEmpty, isObject...  (0) 2007.05.03
여러가지 ASP 관련 함수 모음  (0) 2007.05.03
The ASP CAPTCHA (자동가입방지)  (0) 2007.05.03
ASP 기초 - 배열  (0) 2007.05.03
ASP 기초 - 수학 연산자  (0) 2007.05.03

+ Recent posts