Retriving variables............
-
Right I have a flash interface, and I need to pass a variable from flash to asp.net in order to set a variable that is important to the running of my web page. here is my action script ****************************************** btn_1.onRelease = function(){ PosId = "First"; getURL("WebForm2.aspx", "_self", "POST"); }; ****************************************** Now I need to know how to retieve that vaiable in asp.net. I have tried using, Dim Pos As String Pos = Request.QueryString("PosId") But this doesn't work, any help would be appreciated.
-
Right I have a flash interface, and I need to pass a variable from flash to asp.net in order to set a variable that is important to the running of my web page. here is my action script ****************************************** btn_1.onRelease = function(){ PosId = "First"; getURL("WebForm2.aspx", "_self", "POST"); }; ****************************************** Now I need to know how to retieve that vaiable in asp.net. I have tried using, Dim Pos As String Pos = Request.QueryString("PosId") But this doesn't work, any help would be appreciated.
Well you specify the POST protocol in the GetURL, so it would be
Request.Form["PosId"]
or specify GET in the getURL line and your code should work. Current blacklist svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour