Re: Forms authentication doesn't work in IIS6!!!

From: Egbert Nierop \(MVP for IIS\) (egbert_nierop_at_nospam.invalid)
Date: 11/26/04


Date: Fri, 26 Nov 2004 13:17:40 +0100

Hi,

does HttpContext.Current.User.Identity.IsAuthenticated produce the same?

"James" <James@discussions.microsoft.com> wrote in message
news:46403A76-E079-4CC2-B63F-1F9CD79E7A75@microsoft.com...
>I login the user in my root application, and this code runs in the
>global.asax:
>
> If Not authTicket Is Nothing Then
> Dim id As New FormsIdentity(authTicket)
> Dim aRoles() As String = authTicket.UserData.Split(" ")
> Dim cnvPrincipal As New GenericPrincipal(id, aRoles)
> Context.User = cnvPrincipal
> End If
>
> The redirect to the protected folder happens, but in the application in
> the
> protected folder Request.IsAuthenticated returns FALSE!
>
> Could someone from Microsoft please respond.



Relevant Pages

  • Forms authentication doesnt work in IIS6!!!
    ... I login the user in my root application, and this code runs in the global.asax: ... The redirect to the protected folder happens, but in the application in the ...
    (microsoft.public.inetserver.iis)
  • Re: Secure Multiple Applications in one Domain
    ... Original Page, Login Page, Post of Login Page, Original Page, ... Is using the element in my root web's web.config file the way to ... > another sub application located in the ... Regarding on the repeatly be redirect to login page. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Secure Multiple Applications in one Domain
    ... root applicaiton 's root folder in IIS. ... Now you want the sub application's file also be ... use the same login page in the root web application. ... Regarding on the repeatly be redirect to login page. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Redirecting Users...
    ... root portal page to redirect the user (you would hav eto have logic to ... the root site from another page). ... Microsoft MVP - SharePoint Portal Server ... > Also, I have this simple form for login the OWA WebParts, is it possible ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Is it possible to do Authentication with ASP.NET / C# over IIS ?
    ... But I want to have a SQL ... > database with the users which are allowed to login and just ONE System ... > account who is allowed to login to the protected folder. ... Store success and show filenames, ...
    (microsoft.public.dotnet.framework.aspnet)

Loading