Re: Forms Authentication
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 11/14/05
- Next message: frpascal: "Re: Forms Authentication"
- Previous message: Sophia: "Re: Problems with setting up security tab"
- In reply to: frpascal: "Forms Authentication"
- Next in thread: frpascal: "Re: Forms Authentication"
- Reply: frpascal: "Re: Forms Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 14 Nov 2005 04:46:47 -0800
Hello frpascal,
so a use can be whoever he wants to when he manually changes the value (filled
by your javascript) before the POST to the server??
That's not a good solution.
Why don't you provide a separate directory for windows users - with windows
auth - then in AuthenticateRequest - construct a formsAuth ticket manually,
set the cookie and redirect to your main page?
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> Hi,
>
> For an Intranet, I try to capture the windows logon automaticaly to
> identify
> the user with a little javascript. I put this varaible in an Input
> object
> and use it with a
> "FormsAuthentication.RedirectFromLoginPage(LoginUserWindows.Value,
> False)"
> just before the Response.Redirect("\Planning\PagePrincipale.aspx").
> After that i recall the value with an "User.Identity.Name".
> The trace tells me that Auth-User and Remote-User values are correct
> but I can't get those values with the User.Identity.name after the
> redirection.
>
> It is working fine with W2000 but don't work anymore with Win XP
> neither Win 2003.
>
> Thanks for any help.
> Pascal
- Next message: frpascal: "Re: Forms Authentication"
- Previous message: Sophia: "Re: Problems with setting up security tab"
- In reply to: frpascal: "Forms Authentication"
- Next in thread: frpascal: "Re: Forms Authentication"
- Reply: frpascal: "Re: Forms Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|