how do you use request command
-
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!
-
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!
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