Forms authentication doesn't work in IIS6!!!

From: James (James_at_discussions.microsoft.com)
Date: 11/25/04


Date: Thu, 25 Nov 2004 11:21:02 -0800

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

  • Re: Forms authentication doesnt work in IIS6!!!
    ... >I login the user in my root application, and this code runs in the ... > The redirect to the protected folder happens, ... > protected folder Request.IsAuthenticated returns FALSE! ...
    (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