Storing Querystrings in a Form

Results 1 to 4 of 4

Thread: Storing Querystrings in a Form

  1. #1
    Cooper Guest

    Default Storing Querystrings in a Form

    Can you store a querystring in a form. Post it to another page and use request.form to get the querystring? Will the form recognize the recieved field as a query string? Do you just pull the string out of the form then assign it to a querystring object of some sort?<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Storing Querystrings in a Form

    1.yes<BR>2.yes<BR> could fake it)<BR>4.huh??

  3. #3
    mark Guest

    Default that should work fine

    store your querystring in your form like this<BR>&#060;form action=yourpage.asp method=post&#062;<BR>&#060;input type=text name=variableA value="&#060;%=request.querystring("yourvar")%&#06 2;"&#062;<BR>&#060;input type=submit&#062;<BR>&#060;/form&#062;<BR>submit it and collect it on the other page as request.form("variableA")

  4. #4
    coopetj Guest

    Default RE: that should work fine

    Ok but..<BR><BR>submit it and collect it on the other page as request.form("variableA")<BR><BR>How do I break down the string? Normally I would use the request.querystring("Whatever")to get the data.<BR><BR>That is what my last question was referring to. How do I define the string(its not a query string anymore) as a QUERYstring so I can get the information out?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts