I have used sessions in PHP and found them pretty straightforward.
I have been trying to use sessions in ASP.net but I am finding it very tricky!
Can someone please tell me how to simply pass a variable from one page to another?
I am using :
Dim testtxt As String
testtxt = "hello"
Session("MySession") = testtxt
Dim Testses As String
Testses = Session("MySession")
This does not seem to work. Can someone please point out my mistake?
Should I be messing around with the global.asax or web.config files? I donít want to really; as I just want stand alone pages and not applications.