Click here to Skip to main content
15,893,663 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello guys,

how to get the session variables and its value in a VB.NET web browser?
any help would be appreciated...
thankz in advance...
Posted

 
Share this answer
 
Code on first Form

Session("field1") = TextBox1.Text
Response.Redirect("WebForm2.aspx")

code where session value required

Dim field1 As String = CType(Session.Item("field1"), String)
receive.Text = field1
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900