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

Variable in URL 1

Status
Not open for further replies.

tomhughes

Vendor
Aug 8, 2001
233
US
What is the proper syntax for including a variable in a URL?
I am using LoadVariablesNum command to send a variable to an ASP page to be used in a Query, but it is not recognizing the variable. The variable shows up in a text box, so I know it is in the main movie. This is the script I am using.

URL Pathname\Filename.asp?Variable=VariableName
Location - level 0
Variables - I have tried all possible - "Get", "Post"
 
Not quite sure what you're going for but maybe something like:

Code:
on(release){
   getURL(website,"_blank",POST);
}

where you have previously set the 'website' value:

Code:
website = "[URL unfurl="true"]http://www.tek-tips.com";[/URL]
frozenpeas
 
I reread your post. So how about something like:

Code:
on(release){
   getURL("Pathname\Filename.asp?Variable="+VariableName,"_blank",POST);
}


frozenpeas
 
I changed it to POST, and it works - Thanks for your help!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top