Using asp.net membership. My login.aspx page goes to the loginredirect.a spx
page after the user logs in.
For some reason "Membership.Get User.ProviderUs erKey.ToString" gives me this
error:
System.NullRefe renceException: Object reference not set to an instance of an
object. at loginredirect.P age_Load(Object sender, EventArgs e)
Any reason why? I should be logged in fine.
Is there another way in which I should get the current users UserId?
page after the user logs in.
For some reason "Membership.Get User.ProviderUs erKey.ToString" gives me this
error:
System.NullRefe renceException: Object reference not set to an instance of an
object. at loginredirect.P age_Load(Object sender, EventArgs e)
Any reason why? I should be logged in fine.
Is there another way in which I should get the current users UserId?
Comment