W
Wayne Wengert
I have a VS2005/VB Project that uses a master page on all pages. Certain
pages require that the user be logged in. In the login page, I set a session
variable to "Y" if the user has logged in. In the master page (and others)
when I check to see if the user is logged in, it fails. The code used is:
If Session("LoggedIn") = "Y" Then
lblLoginName.Text = "You are logged in as: " & Session("LoginName")
lblLoginName.Visible = True
Session("LoggedIn") does have a value of "Y" in the login page but not on
the other pages? It is as if it is in a different address space or it is
gettin reset. ny thoughts on what can cause this?
pages require that the user be logged in. In the login page, I set a session
variable to "Y" if the user has logged in. In the master page (and others)
when I check to see if the user is logged in, it fails. The code used is:
If Session("LoggedIn") = "Y" Then
lblLoginName.Text = "You are logged in as: " & Session("LoginName")
lblLoginName.Visible = True
Session("LoggedIn") does have a value of "Y" in the login page but not on
the other pages? It is as if it is in a different address space or it is
gettin reset. ny thoughts on what can cause this?