|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Passing a variable from one page to another
What's the best way to pass a variable from one page to another? I've been using the REQUEST.QUERYSTRING method, but it seems that I can only use the variable or parameter passed within the HTML code section and I'd like to use it within my VB.NET code section. Are there more ways to do this? Thanks for your help.
|
|
#2
|
|||
|
|||
|
there a bunch of ways i just find this to be the easy'ist<br>' ill drop a little code down here<br>dim username as string<br>username = "PAVAK"<br>response.cookies("cookiename").value = username<br><br>' this is how to get it out on the other end and drop it in a text box<br><br>textbox1.text = (request.cookies("cookiename").value.tostring)<br><br>' this will span as many pages as you want.
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Passing a variable from one page to another |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|