I have attached membership functionality to my asp.net application and sql server. I was able to create different roles and users through asp.net website admin. tool. Now, I am trying to login as user. If I enter wrong password, login control gives me message. In my code behind, I am trying to redirect the user in the login1_loggedin method but when I check the property of "User" to find the name or Userinrole, they all come as blank. User's authentication type is also null. My understanding is that when I click Login button on Login control, system will automatically check for authentication. What am I doing wrong here? Thanks in advance for your help.
View Complete Post