Forms authentication doesn't work in IIS6!!!
From: James (James_at_discussions.microsoft.com)
Date: 11/25/04
- Next message: Ganesh Anekar [MSFT]: "Re: Tools for the IIS"
- Previous message: Nicolas: "Re: Windows 2000 server: clients limited to 30 Kb/s per thread"
- Next in thread: Egbert Nierop \(MVP for IIS\): "Re: Forms authentication doesn't work in IIS6!!!"
- Reply: Egbert Nierop \(MVP for IIS\): "Re: Forms authentication doesn't work in IIS6!!!"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Ganesh Anekar [MSFT]: "Re: Tools for the IIS"
- Previous message: Nicolas: "Re: Windows 2000 server: clients limited to 30 Kb/s per thread"
- Next in thread: Egbert Nierop \(MVP for IIS\): "Re: Forms authentication doesn't work in IIS6!!!"
- Reply: Egbert Nierop \(MVP for IIS\): "Re: Forms authentication doesn't work in IIS6!!!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading