login expire

Started by miniop, March 05, 2008, 03:21:39 PM

miniop

Hi thank you very much this script is great and easy to install. I want to ask if it is possible to put an expire date on a login . Like expire in 6months or 1year.

Thank you very much.

arek

Hello,

I think this is possible...
by using password_protect.php   the line that says

// time out after NN minutes of inactivity. Set to 0 to not timeout
define('TIMEOUT_MINUTES', 0);

... change the 0 to 259200 
... 0 represents mins.... and if my quick math is correct 6months equals to approx. 269200 mins.