I have a site/portal created in ASP.net and VB.net.
I want to know how to reference variables between two asp pages, but not the pages themselves, I want to directly transfer data from the .aspx.vb bit of the page to another pages .aspx.vb file. Is that possible?
An easy way in asp.net/VB.net is to use session variables.
Session("myVariable") = "blah"
From another .aspx.vb page you can now use this value. Example:
Dim strTest as String = ""
strTest = Session("myVariable")
You can access this page on any of your .aspx pages for this session by referencing Session("myVariable")