By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,659 Members | 1,714 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,659 IT Pros & Developers. It's quick & easy.

Passing value from external site to ASP form?

P: 76
Hey there...working on a customer site.

The customer is a member of NATE.

Included on his website is his contractor ID#.

I'd like to make this ID# a hyperlink to the results of the following:

http://www.natetesting.com/NATE_Lookup.htm

Meaning, when a visitor clicks on his displayed #, it will run/return the results of http://www.natetesting.com/Nate_Lookup_Results.asp, populated with his credentials.

Is this possible to pass the number to either the .asp or the form itself?

Thanks!
Feb 17 '11 #1
Share this Question
Share on Google+
5 Replies


jhardman
Expert 2.5K+
P: 3,405
yes, very easy, but I'm not sure exactly what you are asking. usually we do the link like this:
Expand|Select|Wrap|Line Numbers
  1. <a href="nate_lookup.asp?idnum=1234">look up</a>
then we access it as
Expand|Select|Wrap|Line Numbers
  1. request("idnum")
Is this what you are asking?

Jared
Feb 19 '11 #2

P: 76
Thanks for the reply Jared.

I think that the first code is what I am looking to do, but it doesn't seem to be working.

When I run that code from a hyperlink on my page, it returns a blank page with the following url:

Expand|Select|Wrap|Line Numbers
  1. http://www.natetesting.com/Nate_Lookup_Results.asp?NATEID=7584962
Am I missing something?
Feb 21 '11 #3

jhardman
Expert 2.5K+
P: 3,405
your script has to be set to look for that number. Do you need help doing that?
Mar 15 '11 #4

P: 76
Yes, please. I do need help with this. Thank you jhardman.
Mar 20 '11 #5

jhardman
Expert 2.5K+
P: 3,405
OK, show the code for the "nate_lookup_results.asp" and I'll show you how to modify it to look for that code.

Jared
Mar 21 '11 #6

Post your reply

Sign in to post your reply or Sign up for a free account.