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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extracting varibles from the URL 1

Status
Not open for further replies.

spacey

Programmer
Oct 15, 1999
10
US
I am passing varibles from one page to the next using the URL. For example \\server\page1?order=12345. The Front page database component uses this varible just fine. How can I use it in a VBScript.
 
You use the querystring collection to access this information. The collection will contain an entry for each value/data pair passed in the url.<br>
<br>
In the following example, the variable 'ordernum' will contain the value '12345'<br>
<br>
dim ordernum<br>
ordernum = Request.Querystring(&quot;order&quot;)<br>
<br>
-nick bulka
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top