Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Retriving variables............

Retriving variables............

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netadobetoolshelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    daviiie
    wrote on last edited by
    #1

    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.

    J 1 Reply Last reply
    0
    • D daviiie

      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.

      J Offline
      J Offline
      J4amieC
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups