request parameter names

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Davy

    request parameter names

    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]

    #2
    Re: request parameter names

    Davy wrote:[color=blue]
    > 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?
    >
    >[/color]
    dim key
    for each key in request.form
    response.write key & " contains """ & request.form(ke y) & """<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"


    Comment

    • Aaron Bertrand [SQL Server MVP]

      #3
      Re: request parameter names









      "Davy" <Davy@discussio ns.microsoft.co m> wrote in message
      news:0AE60079-725A-4B79-8FBB-DAA50243E722@mi crosoft.com...[color=blue]
      >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[/color]


      Comment

      • Bob Barrows [MVP]

        #4
        Re: request parameter names

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

        Aaron Bertrand [SQL Server MVP] wrote:[color=blue]
        > http://www.aspfaq.com/2036
        >
        >
        >
        >
        >
        >
        >
        > "Davy" <Davy@discussio ns.microsoft.co m> wrote in message
        > news:0AE60079-725A-4B79-8FBB-DAA50243E722@mi crosoft.com...[color=green]
        >> 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[/color][/color]

        --
        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.


        Comment

        Working...