Classic ASP Request Object

박상수
2 min readJun 20, 2019

--

Request Object

Request Object

  • client로 부터 정보를 전달 받을때 사용하는 객체

Collection

  • ClientCertificate — 클라이언트 증명서에 있는 모든 필드와 엔트리값(readonly)
  • Cookies — 사용자의 쿠키값
    ex> reqeust.Cookies(“key”) = “aa”
    reqeust.Cookies(“key”).expires = “Jan 1, 2001”
  • Form — POST 전송 값
    ex> value = request.Form(“key”)
  • QueryString — URL로 parameter 전송 값
    ex> url?key=value
  • ServerVariables — 사용자의 HTTP 헤더값과 서버 환경변수

Property

  • TotalBytes — 클라이언트가 요청 본문에서 보낸 총 바이트 수

Method

  • BinaryRead(count) — 요청의 일부로 클라이언트에서 서버로 전송 된 데이터를 검색하여 safe array에 저장합니다.
    Request 컬렉션을 참조했다면 이 메소드는 사용 할 수 없다.
    반대로 requst.BinaryRead를 사용했다면 request을 사용할 수 없다.

[참고]

--

--

No responses yet