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. General Programming
  3. Visual Basic
  4. how do you use request command

how do you use request command

Scheduled Pinned Locked Moved Visual Basic
questioncsharphelp
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.
  • L Offline
    L Offline
    lxhan
    wrote on last edited by
    #1

    Hello, I created a website using VB.Net that needs the userId value from the textbox from an existing ASP website. The old ASP website didn't declare the userId varible as a session varible. How do I use request command to read the userID into my webform? Any help would be helpful. Thanks!

    D 1 Reply Last reply
    0
    • L lxhan

      Hello, I created a website using VB.Net that needs the userId value from the textbox from an existing ASP website. The old ASP website didn't declare the userId varible as a session varible. How do I use request command to read the userID into my webform? Any help would be helpful. Thanks!

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      This question really belongs in the ASP.NET Forum, regardless of the language it's written in. But, if I understand this right, you want one ASP.NET web page to read the values stored in a textbox in another ASP.NET site page that is in an entirely different site (or application)? If that's true, then you can't. There is no way for the server to query the client machine for what's in one of its textboxes. Once ASP builds the HTML and sends it to the client, all traces of it are lost forever. The ASP page has hidden fields in it that maintain the state of the page and are sent back to the server on every page request, thus telling the application on the server what the values of all the control on the page are. Once the processing on that request is finished, that hidden field is updated with the values that are going to be put into the page and then the page is sent to the client and destroyed on the server. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      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