Session Data Problem
Posted on 2007-07-31
I have a website, when someone logs in, I create a Session variable for the id of the person who logged in. When they logout, I run these lines of code:
And when I log in as another user, the session variable does something weird. It logs in and the Session variable gets created, but when I run this code on my Navigation.ascx control:
Response.Write("<b><a href='AdminPage.aspx'>Task Setup Page</a></b><br><br><br>");
It doesn't catch that id, even though I logged in as EmpId 10002.
Anyone have any idea on why this is happening or how I can fix this?