[thelist] [ASP] Using text links to post forms

Scott Dexter sgd at ti3.com
Thu Nov 2 14:39:19 CST 2000


> -----Original Message-----
> From: Michael Galvin [mailto:mpgalvin at eircom.net]
> I'd like to change it, so that it shows page numbers (like 
> Google, etc)
> pointing to the page the user wants to go to directly.  I 
> obviously can't
> use "?" since the asp page determining the results of the search uses
> request.form, rather than request.form.
> 

you *can* use the "?" --the results are the same as a method="GET" which
amounts to the collection being in Request.QueryString instead of
Request.Form; it works seamlessly (provided you get your query string right
=) )

further, if you use the shorthand notation of getting the values
(Request("item") instead of Request.Form("item")) the ASP engine will look
through the query string, the POSTed form, cookies, and even headers to find
the value....

(I think that's the list, I can't remember (atm) all of the places the
Request object looks, if someone has it offhand that'd be great and I'll
memorize it)
sgd
--
work: http://www.ti3.com/
non: http://thinksafely.org/





More information about the thelist mailing list