lacampeona
Registered User.
- Local time
- Today, 22:45
- Joined
- Dec 28, 2015
- Messages
- 392
Hello
I have a login form and change password form with securtiy questions.
Now I am trying to make a password expiration in 30 days from the last setting the password date.
I find some code on internet but I dont know how to make it all together. I manage to open the change password form but is not working like has to work. It open always no metter if passes 30 days or 1 day.
Can somebody help me how to write some code to set password expired in 30 days? I will attach all code that i have for my login form. Can somebody help we with what field i have to insert in the table...what type and where in the code i have to put the code for expiry date? Thank you
I browse a lot on internet and I know that I have to put some new field in the table let say like LastPasswordDate. But here i dont know how to manage to access write the last date into this field. i try with then input now(), but is not working like I want.
I have a table (tblUser) with 11 fields.
1. UserID
2. UserName
3. UserLogin
4. Password
5. UserSecurity
6. Question1
7. Answer1
8. Question2
9. Answer2
10. Question3
11. Answer3
12. LastPasswrdDate? Date/Time?
I have a login form and change password form with securtiy questions.
Now I am trying to make a password expiration in 30 days from the last setting the password date.
I find some code on internet but I dont know how to make it all together. I manage to open the change password form but is not working like has to work. It open always no metter if passes 30 days or 1 day.
Can somebody help me how to write some code to set password expired in 30 days? I will attach all code that i have for my login form. Can somebody help we with what field i have to insert in the table...what type and where in the code i have to put the code for expiry date? Thank you
I browse a lot on internet and I know that I have to put some new field in the table let say like LastPasswordDate. But here i dont know how to manage to access write the last date into this field. i try with then input now(), but is not working like I want.
I have a table (tblUser) with 11 fields.
1. UserID
2. UserName
3. UserLogin
4. Password
5. UserSecurity
6. Question1
7. Answer1
8. Question2
9. Answer2
10. Question3
11. Answer3
12. LastPasswrdDate? Date/Time?