Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Sub Application_PostAuthenticateRequest(ByVal sender As Object, ByVal e As EventArgs) 'code that runs after the person has been authicated If User.Identity.IsAuthenticated Then Dim userdetails As MembershipUser = Membership.GetUser ' If userdetails.LastPasswordChangedDate < Today.AddDays(-48) Then If Request.RawUrl.Contains("/Account/ChangePassword.aspx") = False Then Response.Redirect("~/Account/ChangePassword.aspx") End If 'End If End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.