Please Help - Passing local variable to live content?

i am trying to solve a problem and i think that i have a solution…i just don’t know if its possible…here’s the situation:

  • an interactive cd with links to individual URLs; the user clicks a link and is
    taken to a log in page (which is basically just a password input screen)

  • if their log in is successful, they are then directed to the specific page they
    clicked to, from the cd

my question is this:
say that from the cd , they click “link2”…is there a way to have flash store a variable (let’s call it “link2” as well) in this **LOCAL ** content, that i can then check with an if statement in the LIVE content

i am thinking that if the login page just has an if statement that looks for that variable (“link2” , “linkX” , etc), and then depending on its name, takes you to the appropriate page (link2.html, etc)

i just don’t exactly know how to pass that variable from local content to a live flash site…can anyone help me wrap my head around this one? thanks for your time