|
-
July 27th, 2004, 08:02 AM
#1
Session Variables
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")%>">
Last edited by fitchic77; October 16th, 2010 at 11:50 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|