Hi,
I've created my own login module that calls UserController.UserLogin (see code below).
UserInfo userInfo = UserController.GetUserByName(pi.PortalID, LoggedOnUser.PortalUserName); string userIP = Request.ServerVariables["REMOTE_ADDR"].ToString(); UserController.UserLogin(pi.PortalID, userInfo, pi.PortalName, userIP, false);
Unfortunatley the LastLogginDate is not being updated ie. userInfo.Membership.LastLoginDate is not updated in the database.
Any idea what I'm doing wrong?
Any help appreciated.
Regards,
Paul. |