|
-
Jan 31st, 2012, 11:44 AM
#2
Member
Re: Sessions variables getting lost
Have you tried getting any other Session data to AddToWall event? are they all blank if you have? your code looks like its all right, but I am pretty new to VB, but it looks like it should be working. The keys should be staying automatically. And it looks like like that data is staying cause you have traced it...Have you tried saving the data in session as something else then passing that in the MsgBoX?
Protected Sub btnAddToWall_Click(sender As Object, e As EventArgs) Handles btnAddToWall.Click
Dim test As Int32 = Session("LoggedInID")
MsgBox(test)
End Sub
just to see if it passes between the subs, worth a try, but other then that, i don't see anything wrong with your code
Last edited by jdogg; Jan 31st, 2012 at 11:45 AM.
Reason: Mistyped
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
|