Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Aug 25, 1999

Passing Parameters to an ASP Page

Question:
How do you pass parameters from an HTML page using either Java or Visual Basic to an ASP page?

Answer:

You do not need Java or VB to pass parameters. If you can call your ASP page, you can pass it parameters using the Query String. To call an ASP page called test.asp and pass arguments arg1 = value1, arg2 = value2, you need to call:

test.asp?arg1=value1&arg2=value2

The question mark (?) begins the query string. Each key = value pair is separated by the ampersand (&) character.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date