request parameter names

Discussion in 'ASP General' started by Davy, Jun 29, 2006.

  1. Davy

    Davy Guest

    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
     
    Davy, Jun 29, 2006
    #1
    1. Advertising

  2. 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"
     
    Bob Barrows [MVP], Jun 29, 2006
    #2
    1. Advertising

  3. http://www.aspfaq.com/2036







    "Davy" <> wrote in message
    news:...
    >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
     
    Aaron Bertrand [SQL Server MVP], Jun 29, 2006
    #3
  4. Oops ... didn't realize that one was there.

    Aaron Bertrand [SQL Server MVP] wrote:
    > http://www.aspfaq.com/2036
    >
    >
    >
    >
    >
    >
    >
    > "Davy" <> wrote in message
    > news:...
    >> 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


    --
    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.
     
    Bob Barrows [MVP], Jun 29, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paddy McCarthy
    Replies:
    3
    Views:
    733
    Anthony J Bybell
    Sep 24, 2004
  2. Brian Birtle
    Replies:
    2
    Views:
    2,101
    John Saunders
    Oct 16, 2003
  3. Bob
    Replies:
    1
    Views:
    394
    Lucas Tam
    Jul 30, 2004
  4. Lewis G. Pringle, Jr.
    Replies:
    0
    Views:
    613
    Lewis G. Pringle, Jr.
    Sep 30, 2003
  5. Craig
    Replies:
    0
    Views:
    458
    Craig
    Feb 9, 2004
Loading...

Share This Page