Example of using the Request Object
View the source code

ClientCertificate
Iterating through the ClientCertificate collection :
Number of ClientCertificates = 0

To test whether a client certificate has been presented.
No client certificate was presented


Cookies
To determine whether a cookie is a cookie dictionary (whether the cookie has keys), use the following script.
HasKeys = False

Iterating through the Cookie collection :
Number of Cookies = 0


    Form
    Your first name:
    What is your favorite flavour of ice cream:
    What is your favorite flavour of jam:
    What is your favorite flavour of jam:
    What is your favorite flavour of tea:
     


    QueryString

    Test sending a query string


    ServerVariables

    Iterating through the ServerVariables collection :
    Number of ServerVariables = 55
  1. ALL_HTTP = HTTP_CONNECTION:Keep-Alive HTTP_ACCEPT:*/* HTTP_ACCEPT_ENCODING:gzip, br HTTP_HOST:www.phdcc.uk HTTP_USER_AGENT:claudebot HTTP_X_FORWARDED_FOR:3.235.229.251 HTTP_CF_RAY:86c006452c2057af-IAD HTTP_X_FORWARDED_PROTO:https HTTP_CF_VISITOR:{"scheme":"https"} HTTP_CF_CONNECTING_IP:3.235.229.251 HTTP_CDN_LOOP:cloudflare HTTP_CF_IPCOUNTRY:US HTTP_X_REWRITE_URL:/Dynamic-CD/dcddoc/biodoc/reqTst.asp
  2. ALL_RAW = Connection: Keep-Alive Accept: */* Accept-Encoding: gzip, br Host: www.phdcc.uk User-Agent: claudebot X-Forwarded-For: 3.235.229.251 CF-RAY: 86c006452c2057af-IAD X-Forwarded-Proto: https CF-Visitor: {"scheme":"https"} CF-Connecting-IP: 3.235.229.251 CDN-Loop: cloudflare CF-IPCountry: US X-REWRITE-URL: /Dynamic-CD/dcddoc/biodoc/reqTst.asp
  3. APPL_MD_PATH = /LM/W3SVC/1055295309/ROOT
  4. APPL_PHYSICAL_PATH = h:\root\home\phdccltd-001\www\phdccUK\
  5. AUTH_PASSWORD =
  6. AUTH_TYPE =
  7. AUTH_USER =
  8. CERT_COOKIE =
  9. CERT_FLAGS =
  10. CERT_ISSUER =
  11. CERT_KEYSIZE =
  12. CERT_SECRETKEYSIZE =
  13. CERT_SERIALNUMBER =
  14. CERT_SERVER_ISSUER =
  15. CERT_SERVER_SUBJECT =
  16. CERT_SUBJECT =
  17. CONTENT_LENGTH = 0
  18. CONTENT_TYPE =
  19. GATEWAY_INTERFACE = CGI/1.1
  20. HTTPS = off
  21. HTTPS_KEYSIZE =
  22. HTTPS_SECRETKEYSIZE =
  23. HTTPS_SERVER_ISSUER =
  24. HTTPS_SERVER_SUBJECT =
  25. INSTANCE_ID = 1055295309
  26. INSTANCE_META_PATH = /LM/W3SVC/1055295309
  27. LOCAL_ADDR = 205.144.171.166
  28. LOGON_USER =
  29. PATH_INFO = /Dynamic-CD/dcddoc/biodoc/reqTst.asp
  30. PATH_TRANSLATED = h:\root\home\phdccltd-001\www\phdccUK\Dynamic-CD\dcddoc\biodoc\reqTst.asp
  31. QUERY_STRING =
  32. REMOTE_ADDR = 162.158.78.28
  33. REMOTE_HOST = 162.158.78.28
  34. REMOTE_USER =
  35. REQUEST_METHOD = GET
  36. SCRIPT_NAME = /Dynamic-CD/dcddoc/biodoc/reqTst.asp
  37. SERVER_NAME = www.phdcc.uk
  38. SERVER_PORT = 80
  39. SERVER_PORT_SECURE = 0
  40. SERVER_PROTOCOL = HTTP/1.1
  41. SERVER_SOFTWARE = Microsoft-IIS/10.0
  42. URL = /Dynamic-CD/dcddoc/biodoc/reqTst.asp
  43. HTTP_CONNECTION = Keep-Alive
  44. HTTP_ACCEPT = */*
  45. HTTP_ACCEPT_ENCODING = gzip, br
  46. HTTP_HOST = www.phdcc.uk
  47. HTTP_USER_AGENT = claudebot
  48. HTTP_X_FORWARDED_FOR = 3.235.229.251
  49. HTTP_CF_RAY = 86c006452c2057af-IAD
  50. HTTP_X_FORWARDED_PROTO = https
  51. HTTP_CF_VISITOR = {"scheme":"https"}
  52. HTTP_CF_CONNECTING_IP = 3.235.229.251
  53. HTTP_CDN_LOOP = cloudflare
  54. HTTP_CF_IPCOUNTRY = US
  55. HTTP_X_REWRITE_URL = /Dynamic-CD/dcddoc/biodoc/reqTst.asp


    TotalBytes, BinaryRead
    Your first name:
    Your last name:
     


    Finding a Request variable by scanning all collections
    (Not recommended)

    SERVER_SOFTWARE = Microsoft-IIS/10.0


    © Copyright 2000-2003 PHD Computer Consultants Ltd