User tracking system

hi, guys, here i will try to start with the idea, and if with your help it develops to a solution it will be great.

What I would like to accomplish is:

  1. I have an SWf presentation file which all my learners have to go through.
  2. if user logs in into the flash site, i.e. the said swf file on the first page. I will be greeted at the next one and therefrom will be relayed as a user"so ans so"
  3. depending on his replies the system will track his responces and ultimately store them into a database(either asp(preferably, or php)

I know how to link the flash to asp, I think somewhere n this forum a year ago a good hearted person posted a complete fla how to do so.

what I do not know yet is how to track each user and store his responces into same databse…