代码:
For i As Integer = 0 To Request.Params.Count - 1
Response.Write(("<li>" & Request.Params.Keys(i).ToString() & " = ") + Request.Params(i).ToString())
Next
Response.Write("<hr>")
For i As Integer = 0 To Request.Form.Count - 1
Response.Write(("<li>" & Request.Form.Keys(i).ToString() & " = ") + Request.Form(i).ToString())
Next
Response.Write("<hr>")
For i As Integer = 0 To Request.QueryString.Count - 1
Response.Write(("<li>" & Request.QueryString.Keys(i).ToString() & " = ") + Request.QueryString(i).ToString())
Next
Response.Write("<hr>")
For i As Integer = 0 To Request.Cookies.Count - 1
Response.Write(("<li>" & Request.Cookies.Keys(i).ToString() & " = ") + Request.Cookies(i).ToString())
Next