Passing value from external site to ASP form?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • artemetis
    New Member
    • Jul 2007
    • 76

    Passing value from external site to ASP form?

    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_Res ults.asp, populated with his credentials.

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

    Thanks!
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    yes, very easy, but I'm not sure exactly what you are asking. usually we do the link like this:
    Code:
    <a href="nate_lookup.asp?idnum=1234">look up</a>
    then we access it as
    Code:
    request("idnum")
    Is this what you are asking?

    Jared

    Comment

    • artemetis
      New Member
      • Jul 2007
      • 76

      #3
      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:

      Code:
      http://www.natetesting.com/Nate_Lookup_Results.asp?NATEID=7584962
      Am I missing something?

      Comment

      • jhardman
        Recognized Expert Specialist
        • Jan 2007
        • 3405

        #4
        your script has to be set to look for that number. Do you need help doing that?

        Comment

        • artemetis
          New Member
          • Jul 2007
          • 76

          #5
          Yes, please. I do need help with this. Thank you jhardman.

          Comment

          • jhardman
            Recognized Expert Specialist
            • Jan 2007
            • 3405

            #6
            OK, show the code for the "nate_lookup_re sults.asp" and I'll show you how to modify it to look for that code.

            Jared

            Comment

            Working...