Flash and ASP Session connectivity?

I am trying to have some connectivity between flash and a session object in asp.

Basically my aim is:-

When the user first enters the page they see the flash as per normal. Keeping withing the same browser window if they return to the home page what they then see is the flash animation at a particular frame, and not played from the start as previously.

Apparently the way to do this is as follows:



flashLoaded = new LoadVars();
flashLoaded.onLoad=function(success)
{
        if(success)
        {
                if(this["flash"]=="true")
                {
                        gotoAndStop(5);
                }
                else
                {
                        gotoAndPlay(2);
                }
        }
}

flashLoaded.load("default.asp");


and the ASP side of things is as follows:-



session("flash") = true


I cannot get this to work, and have no idea what I am doing wrong, anyone looking at the code is this correct and any ideas as to why it does not work. I don’t wish to append the querystring, because that is not the best approach in my opinion and surely there is a better method??

Please help me out here

Regards

Trev