I am trying to configure one http module(a vb module) on MOSS site.
In this module I have entry like below:
Expand|Select|Wrap|Line Numbers
- Dim roles As String() = Nothing
- Dim webIdentity As New GenericIdentity(OracleUser, "Form")
- Dim principal As New GenericPrincipal(webIdentity, roles)
- HttpContext.Current.User = principal
- System.Web.Security.FormsAuthentication.RedirectFromLoginPage(HttpContext.Current.User.Identity.Name.ToString, False)
Parameter name: encodedValue
If I comment "HttpContext.Current.User" related two lines then it redirect to form login.
please let me know if there is anything wrong related to these settings.