Forum Moderators: phranque
you could probably use whatever language is available to you. You would have to implement the login with the chosen language though as opposed to using .htaccess.
Are you talking about your users or you own pass? Were you looking for something where people who don't login for a certain amount time can't?
Whichever, you could store the login info in a db and then a last login or created date in there as well. When someone tries to login it checks the dates and if they are out of range then prompts them to whatever action you require.
Not sure if that is what you mean but more specifics about the situation/scenario may help me answer a little better.