HI ,
User authentication will be done first on ourDNNwebsite(test1.com) , if data not found will be hooked from another DNN website(www.test2.com) Our Approach: i have Create a one webservice which have one methode :
<WebMethod(EnableSession:=True)> _
Public Function LoginAuthenticationUser(ByVal PortalId As Integer, ByVal UserName As String, ByVal Password As String) As String
Dim strMessage As String = Null.NullString
Dim expiryDate As DateTime = Null.NullDate
Dim loginStatus As UserLoginStatus = UserLoginStatus.LOGIN_FAILURE
Dim objUser As UserInfo = UserController.ValidateUser(PortalId, UserName, Password, "DNN", "", "", "127.0.0.1", loginStatus)
If objUser Is Nothing Then
Return "FALSE"
Else
Return "TRUE"
End If End Function
if it is return sucess then login in our test1.com website how it is possible . because withoout
UserController.UserLogin(PortalId, objUser, PortalSettings.PortalName, AuthenticationLoginBase.GetIPAddress(), "False")
not login on website .
Please give me suggesion.