Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QueryString / Form

Status
Not open for further replies.

zzfive03

Programmer
Jun 11, 2001
267
Is there a way I can pass a value to a web site (within the query string) but "trick" the processing page into thinking it is a .Form rather than a .Querystring?

For example:


I want the mysite.asp to be able to recived name as
Request.Form("name") rather than
Request.QueryString("name")

Is this possible?

Thanks in advnace.
 
No, the querystring collection and the .form collection are two differant collections. If the programmer has specified that the value must come directly from the form collection, than it must come from the form collection. You could, on the other hand, submit a form to the site with the values in hidden fields and method=POSt therefore placing your data in the form collection rather than the querystring collection.

-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...) :p
 
I don't think you can, unless you put it in a form and submit it. may I ask why you want it in a .from rather than a .QueryString?
 
I don't think you can, unless you put it in a form and submit it. may I ask why you want it in a .form rather than a .QueryString?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top