IIS ASP - request parameter names

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > June 2006 > request parameter names





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author request parameter names
Davy

2006-06-29, 7:34 am

I 'd like to print out all posted parameter names and values.

I'm able to print all the posted request values, but not the parameter names.

any suggestions?


thanks in advanced
Davy
Bob Barrows [MVP]

2006-06-29, 7:34 am

Davy wrote:
> I 'd like to print out all posted parameter names and values.
>
> I'm able to print all the posted request values, but not the
> parameter names.
>
> any suggestions?
>
>

dim key
for each key in request.form
response.write key & " contains """ & request.form(key) & """<BR>"
next

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


Aaron Bertrand [SQL Server MVP]

2006-06-29, 1:20 pm

http://www.aspfaq.com/2036







"Davy" <Davy@discussions.microsoft.com> wrote in message
news:0AE60079-725A-4B79-8FBB-DAA50243E722@microsoft.com...
>I 'd like to print out all posted parameter names and values.
>
> I'm able to print all the posted request values, but not the parameter
> names.
>
> any suggestions?
>
>
> thanks in advanced
> Davy



Bob Barrows [MVP]

2006-06-29, 1:20 pm

Oops ... didn't realize that one was there.

Aaron Bertrand [SQL Server MVP] wrote:[vbcol=seagreen]
> http://www.aspfaq.com/2036
>
>
>
>
>
>
>
> "Davy" <Davy@discussions.microsoft.com> wrote in message
> news:0AE60079-725A-4B79-8FBB-DAA50243E722@microsoft.com...

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com