i have login page with login user control. BUT i'm NOT using membership API, instead im using custom authentication. After authenticating user im setting
e.Authenticated = true but still in
Login1_LoggedIn event User.Identity.IsAuthenticated is false WHY? im i doing something wrong. Here is my code protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
string UserName = Login1.UserName;
string Password = Login1.Password;
if (SQLHelper.Authenticate(UserName, Password, ref userData))
{
e.Authenticated = true;
}
else
{
e.Authenticated = false;
}
} protected void Login1_LoggedIn(object sender, EventArgs e)
{
...
Go to the complete details ...