fitchic77
July 27th, 2004, 08:02 AM
How do I set a session variable in the .aspx.vb file and then request it in
the .aspx page to set a dynamic URL...:
=====================================
Here is how I'm setting it in the .aspx.vb file but it is NULL
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Session("PartID") = "testpartid"
End Sub
=====================================
Here is what I have in the .aspx (but the id is null)
www.test.com?action=go&id=<%#Session("PartID")%>">
the .aspx page to set a dynamic URL...:
=====================================
Here is how I'm setting it in the .aspx.vb file but it is NULL
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Session("PartID") = "testpartid"
End Sub
=====================================
Here is what I have in the .aspx (but the id is null)
www.test.com?action=go&id=<%#Session("PartID")%>">