Re: Context.User.Identity question
gicio_at_gmx.de
Date: 12/15/03
- Next message: Greg: "Forms Authentication Question"
- Previous message: Tommy Martin: "I need an open page"
- In reply to: gicio_at_gmx.de: "Context.User.Identity question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 15 Dec 2003 18:05:04 +0100
When I understand it correct only this line of code:
FormsAuthentication.SetAuthCookie(email.Text, RememberCheckbox.Checked)
set the Request.IsAuthenticated to true
correct?
regards,
gicio
<gicio@gmx.de> wrote in message news:brkm1h$4dg82$1@news.hansenet.net...
> 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
>
>
- Next message: Greg: "Forms Authentication Question"
- Previous message: Tommy Martin: "I need an open page"
- In reply to: gicio_at_gmx.de: "Context.User.Identity question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|