Iframe/url parameters /classic asp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MikaelMadrid
    New Member
    • May 2013
    • 2

    Iframe/url parameters /classic asp

    Good morning,So the thing is,I have a link with a parameter passed through the url which opens an asp file with an iframe in it,the iframe has all the code for the html but when i try to retrieve the parameter from the asp file(the one that is embedded in the iframe),i keep getting "0" instead of the actual number that i can see in the url,any insight for this?,thanks in advanced.
  • Oralloy
    Recognized Expert Contributor
    • Jun 2010
    • 988

    #2
    MikaelMadrid,

    Sounds like you are not using the same parameter name in the URL as the ASP. Remember that they are case sensitive.

    When in doubt, trivialize the ASP, so all it displays is a minimal HTML page with the parameter value. Display it as a string without any additional processing.

    Luck!
    Oralloy

    Comment

    • MikaelMadrid
      New Member
      • May 2013
      • 2

      #3
      Hi thanks for the reply,i already solved this,the problem was that i wasnt passing the parameter to the src inside the <iframe> only to the asp that contained the html with the <iframe>,so i just passed it to both and solved it,thanks again :)

      Comment

      • Oralloy
        Recognized Expert Contributor
        • Jun 2010
        • 988

        #4
        MikaelMadrid,

        Glad to hear you kept working and found your own answer, even after asking for help!

        Oralloy

        Comment

        Working...