Zubrag.com :: Forum

zubrag.com => Questions About Our Scripts => Password Protect Advanced => Topic started by: miniop on March 05, 2008, 03:21:39 PM

Title: login expire
Post by: miniop on March 05, 2008, 03:21:39 PM
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.
Title: Re: login expire
Post by: arek on May 16, 2008, 11:56:35 PM

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.