Hi, I am new to dotnet and of course new to DNN
.
I have a question about the UrlRewriteModule httpModule, at the bottom of onBeginRequest function, there codes like this
If PortalId <> -1 Then
Globals.SetApplicationName(PortalId)
' load the PortalSettings into current context
Dim _portalSettings As PortalSettings = New PortalSettings(TabId, objPortalAliasInfo)
app.Context.Items.Add("PortalSettings", _portalSettings)
Else
' other stuff....
End If
So, the question is why should every request to update the portalSettings?
Thanks in advance
Mike