I am using ASP.NET membership for the authentication of my web app. This worked great for me. I now have to implement password expiration.
If the password has expired th
Just implemented this in about an hour, no need to modify your base page. Heres what you have to do:
Respond to the LoggingIn
event of the membership control
Find the user in the membership database and get LastPasswordChangedDate
Using a TimeSpan, compare this with the current date and decide if the password was last changed more than the requisite number of days ago. I get this value from web.config
If expired, redirect to the ChangePassword
screen