php - expire account if they have not logged in -


i need expire account after 3 months if have not logged in website. how can automatically address in code it? how can address automatically delete user database within 3 months in php language ?

you have 2 options:

  1. run cron job selects users have not logged in 3 months, , marks accounts deleted (don't delete them imho, maybe residual data)

  2. when user logs in, check last login time, , if it's greater 3 months, return error , force them register.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -