List all Post Parameters


/ Published in: ASP
Save to your folder(s)

This function return a string with all the post parameters and their values.


Copy this code and paste it in your HTML
  1. Function requestPost()
  2. Dim Temp
  3. i = 0
  4. For each d in Request.form
  5. if i = 0 then
  6. Temp = Temp & d & "=" & Request.form(d)
  7. else
  8. Temp = Temp & "&"& d & "=" & Request.form(d)
  9. end if
  10. i = i+1
  11. Next
  12. requestPost = Temp
  13. End Function

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.