Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 17th, 2004, 10:43 PM
Authorized User
 
Join Date: Nov 2003
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to eapsokha
Default How to receive all parameters

Does anyone know how to receive all parameters (variables placed after the question mark; for example, search.asp?action=search)?

Many thanks

Sokha

__________________
Mr. Sokha Eap
Webmaster
UNDP Cambodia
 
Old February 17th, 2004, 10:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Not sure what you mean by receive, you always receive the parameters. to access them you refer to them by name.
eg. request("action")
They are part of the request collection. you can loop through all the parameters in the query string with
Code:
dim obj
for each obj in request.querystring
 response.write(obj & " = " & request(obj) & "<BR>")
next
This will list all the variable names in the querystring and their values.

Not sure if this is what you mean but hope it helps


======================================
They say, best men are moulded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================





Similar Threads
Thread Thread Starter Forum Replies Last Post
Only Receive sms anyJulio Visual Studio 2005 0 June 18th, 2007 10:05 PM
TCP Send / Receive example Bodonn BOOK: Professional C#, 2nd and 3rd Editions 0 July 27th, 2006 04:55 PM
How Can I Receive Mail By C#? shenyisyn VS.NET 2002/2003 2 January 5th, 2005 05:18 AM
not able to receive xml data unniml Classic ASP XML 0 January 30th, 2004 09:00 AM
FTP receive function pjconrad Biztalk 0 October 21st, 2003 09:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.