Add and get value from session (VB.net)
<%@ Page Language="vb" %> <html> <head> <script runat="server"> Sub Page_Load() Dim myBaz As String = "saved value" Session.Add("baz", myBaz) Message.Text = Session("baz") End Sub </script> </head> <body> <form runat="server"> <asp:label id="Message" runat="server"/> </form> </body> </html>