G
Guest
Hi!
1st:
when I debug this:
FormsAuthentication.SetAuthCookie(email.Text, RememberCheckbox.Checked)
and set a breakpoint a line after
FormsAuthentication.SetAuthCookie(email.Text, RememberCheckbox.Checked)
at:
// Redirect browser back to originating page
Response.Redirect(Application["AppPath"].ToString());
I see in my watcher: User.Identity.Name = ""
why that?
what is my mistake? or what I must do else to set User.Identity.Name ???
2nd:
what set exactly 'IsAuthenticated' as authenticated???
regards,
gicio
1st:
when I debug this:
FormsAuthentication.SetAuthCookie(email.Text, RememberCheckbox.Checked)
and set a breakpoint a line after
FormsAuthentication.SetAuthCookie(email.Text, RememberCheckbox.Checked)
at:
// Redirect browser back to originating page
Response.Redirect(Application["AppPath"].ToString());
I see in my watcher: User.Identity.Name = ""
why that?
what is my mistake? or what I must do else to set User.Identity.Name ???
2nd:
what set exactly 'IsAuthenticated' as authenticated???
regards,
gicio