Ask a Question related to ASP.NET Security, Design and Development.
-
Context.User.Identity question
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
Guest
-
Capturing identity of the user
Hi... I have made a asp page that accepts some data from user and stores it in MS Access database. Now...I want to identify the user who filled... -
how to persist a user identity across a web service session context
hi, i'm using a simple web service authentication method (not WSE). the problem is that when i set a generic principal on the Context.User object,... -
*** User.Identity.Name
After a user logging on, User.Identity.Name contains domain/logon name of the current user. How to get other information of the current user such as... -
User.Identity.Name
Hi, I am using Forms authentication -in which - I am trying to use User.Identity.Name, i am getting the user name in this field even after i... -
Question: COntext.User.IsInRole
You would set them in your global.asax in the Authenticate event. -- John Saunders Internet Engineer john.saunders@surfcontrol.com "VB... -
Re: Context.User.Identity question
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
>
>
Guest



Reply With Quote

