如表单上有一 name为username的文本框及一 name为password的文本框 , 当表单提交时,会产生这样的URL串:http://www.51frw.cn/xxxx.asp?username=nnnnn&password=mmmmm
使用 Request.QueryString("username") 会得到 字符串 "nnnnn"
Request.QueryString("password") 得到 "mmmmm" !
使用下面方法可以得出所有的请求数据: for each xKey in Request.QueryString
response.write("<p>" & xkey & " = " & Request.QueryString(xkey) & "</p>")
next
使用下面方法可以列出所有的环境变量:
for each xKey in Request.ServerVariables
response.write("<p>" & xkey & " = " & Request.ServerVariables(xkey) & "</p>")
nextTop
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!