Hello all,
I intend to use membership.authentication/authorization API from ASP.NET 2.0 in in ASP.NET 3.5 web app. However, when I implement the LoggedIn method for a login component as below:
protected void Login1_LoggedIn(object sender, EventArgs e)
{
Label1.Text = User.Identity.Name;
}
the Name comes as a null value... the username/pass are correct, the login control works fine if the default behavior is used, but it seems that the Identity is not properly initialized. Any ideas on how to get the current User object with the associated values?
Thanks