1) password time-out:
in the database, add a field with a date inserted. When the user changes the password, update the field to the current date. Everytime when the user logs in, check to match the difference between the date in the database and the current date while signing in.
2) 3 wrong pw lock-out:
create a session object, somthing like session("errCount"

or somthing. on the verification page, you have the if/else statement and if the user has the correct user id and pwd, than log him in, if he doesn't, send him back to the login page. Well, within the "else" statement, have another one. Say if session("errCount"

=> 3 Then and have it send them to a "lock-out" page. Else session("errCount"

= session("errCount"

+ 1. Now what if they sign in but back out, their session("errCount"

is still holding the number unless you used a session.abandon. So, upon successfully logging into the site, set session("errCount"

back to 0 (zero). additionally, what if the session times out but you want it locked out permanently until the administrator (you) unlocks their account? you can add a yes/no field in the database and upon the 3rd bad attempt, set the lockout (yes/no) field to true. Run a check for that also on the login verification page. If rs.lockout = true then send to "lock-out" page, else if session("errCount"

=> 3 Then send to "lock-out" page, else session("errCount"

= session("errCount"

+ 1, response.redirect("originalLoginPage.asp"
Hope that helps. -Ovatvvon :-Q