Login Page

ninel

Active member
Joined
Mar 23, 2005
Messages
32
Location
Land O Lakes, Florida
Programming Experience
3-5
I have a login page. I would like to add some more functionality and security to it. I have a table that contains users with their usernames and passwords. Every couple of months I would like to force them to change their passwords.
Is there any sample code out there that does this?

Thanks,
Ninel
 
I don't have any code handy but the logic is simple.

At the time of registration, have a field that stores the current date/time (Now()).

At each login, check Now() vs. that stored value. If DateDifference > 90 days, display the password change form.

Dont forget to store the new Date/Time in the field so that the user has another 90 (or whatever) days.
 
Back
Top