Hi,
I'm still tooling around with this one
The above web.config update got some things working but didn't catch everything. I'm not exactly sure why.
I am definitely seeing a problem with DNN 4 / ASP.NET 2 / Child
Portals and request authentication against
/dnn/webresource.axd?309230923092093 kinds of URLs.
URLRewrite defaults to portal 0 (first alias in host settings I think)
for these URLs because it can't determine where the URL is going
to. Then, AuthenticateRequest gets hit with the wrong portal id /
user id combo and forces an objPortal.Signout. The user never
sees that they are signed out until they submit the form, or navigate
to another page.
My latest fix attempt is to modify DNNMembershipModule.vb - right beneath:
'First check if we are upgrading/installing
If Request.Url.LocalPath.EndsWith("Install.aspx") Then
Exit Sub
End If
I added:
'First check if we are upgrading/installing
If
Request.Url.LocalPath.ToLower.Contains("webresource.axd") Then
Exit Sub
End If
This basically prevents the signout and things seem to be working - without the above web.config changes.
Is anyone else seeing this behavior? I don't see it logged in gemini.
I'm using FORMS authentication but I suspect that the ADSI
authentication provider will exhibit the same behavior. I've seen
posts about child portal authentication issues with ADSI and am
wondering if they're the same thing.
Thanks!
Shawn