M
mike
i want to invoke something after login.
so i write in Login1_LoggedIn event of LoginView like below..
to execute i need user Id ..but it 's always null..
protected void Login1_LoggedIn(object sender, EventArgs e)
{
string userId = HttpContext.Current.User.Identity.Name; => null
//string userId = Context.User.Identity.Name; =>
null
//bool i = Context.User.Identity.IsAuthenticated; => false
PointManager.LoginPoint(userId);
}
so i write in Login1_LoggedIn event of LoginView like below..
to execute i need user Id ..but it 's always null..
protected void Login1_LoggedIn(object sender, EventArgs e)
{
string userId = HttpContext.Current.User.Identity.Name; => null
//string userId = Context.User.Identity.Name; =>
null
//bool i = Context.User.Identity.IsAuthenticated; => false
PointManager.LoginPoint(userId);
}