Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I disagree. Whilst you should use the .Add method of the session to add a variable, the shorthand way of assigning it will still work. Try it out by adding a Button on one page, and assigning the variable e.g.TipGiver said:If you are doing session("curUser") = something then you are wrong
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Session("Test1") = "Hello"
Response.Redirect("Page2.aspx")
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Response.Write(Session("Test1"))
End Sub