Author: mychucky | Posted on: 9/2/2009 6:35:41 AM | Views : 286

I have the following for testing and retreiving Session value:
if (!String.IsNullOrEmpty(Convert.ToString(Session["Auth"]))) { lblSession.Text = "Session shows no value"; } else { lblSession.Text = Convert.ToString(Session["Auth"]); }

And this is in the login.aspx for storing the session:
Session["Auth"] = "valid";
Any idea why the page does not display anything to the Lable control lblSession? It is as if there is nothing on the page. What am I doing wrong here?







...

Go to the complete details ...