페이지의 양식이 get의 페이지로 전송되면 [/url] 데이터를 찾으려면 (데이터에 안전하지 않은 문자가 포함 된 경우 브라우저는 먼저 16 진 문자로 변환 한 다음 먼저 변환 한 다음 %20으로 변환하는 것과 같이 전송) 요청 된 데이터를 query_string이라는 환경 변수에 넣습니다. 쿼리 스트링 방법은이 환경 변수에서 해당 값을 꺼내어 16 진수로 변환 한 문자를 복원하는 것입니다 (예 : %20은 우주로 복원됩니다).
If there is a text box with name username and a text box with name password on the form, when the form is submitted, such a URL string will be generated: http://www.xxxxx.com/xxxx.asp?username=nnnnnn&password=mmmmmm
request.queryString ( "username")을 사용하여 "nnnnn"문자열이 나타납니다.
request.querystring ( "password")가 "mmmmm"을 가져옵니다!
모든 요청 데이터는 다음 방법을 사용하여 얻을 수 있습니다. foreachxkeyInrequest.querystring
response.write ( "<p>"& xkey & "="& request.querystring (xkey) & "</p>")
다음
다음 방법을 사용하여 모든 환경 변수를 나열하십시오.
foreachxkeyInRequest.Servaribarible
response.write ( "<p>"& xkey & "="& request.servervariables (xkey) & "</p>")
NextTop