[thelist] ASP request.querystring(*) ?

Cymbala, Greg Greg.Cymbala at Den.Galileo.com
Wed Apr 10 10:48:01 CDT 2002


You can use a For Each loop:

Dim QSItem
For Each QSItem in Request.QueryString
    Response.Write (QSItem & " = " & Request.QueryString(QSItem) & "<br />")
Next

Note that if you have two or more items in the querystring with the same
name, Request.QueryString(QSItem) will return a comma-delimited list of
them.

Greg

-----Original Message-----
From: Rob Smith [mailto:rob.smith at thermon.com]
Sent: Wednesday, April 10, 2002 9:02 AM
To: 'thelist at lists.evolt.org'
Subject: [thelist] ASP request.querystring(*) ?


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Is there a way that I can capture and dissect the request.querystring (
anything and everything)?

I'm using a complicated form in ASP with checkboxes that have ambiguous
names. Meaning you don't know what they are nor do I care to know what they
are, but still want to look at them. There is a pattern however
text=on&moretext=on&stillmoretext=on.

I want to basically grab everything between the & sign and the = sign.
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !


The information in this electronic mail message is sender's business
Confidential and may be legally privileged.  It is intended solely for the
addressee(s).  Access to this Internet electronic mail message by anyone
else is unauthorized.  If you are not the intended recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken
in reliance on it is prohibited and may be unlawful.
The sender believes that this E-mail and any attachments were free of any
virus, worm, Trojan horse, and/or malicious code when sent. This message and
its attachments could have been infected during  transmission. By reading
the message and opening any attachments, the recipient accepts full
responsibility for taking protective and remedial action about viruses and
other defects. Galileo International is not liable for any loss or damage
arising in any way from this message or its attachments.





More information about the thelist mailing list