Zubrag.com
October 20, 2019, 01:28:29 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: login expire  (Read 5017 times)
miniop
Newbie
*
Posts: 3


« on: March 05, 2008, 07:21:39 AM »

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.

Logged
arek
Newbie
*
Posts: 3


« Reply #1 on: May 16, 2008, 02:56:35 PM »

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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC