Zubrag.com
May 20, 2012, 10:42:12 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: password protect - remain logged in after closing browser ?  (Read 1768 times)
woca
Newbie
*
Posts: 1


« on: May 05, 2007, 06:14:10 am »

Is there a possibility to remain logged in after closing the browser?
Every time I have closed the browser, I need to re-enter the login and password, but I would like to remain logged in. (same as for instance with phpBB forum : automatic login with each visit)

Thanks in advance !

Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #1 on: May 05, 2007, 02:37:32 pm »

Password protector has following option

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

It will behave as you described (auto logout when browser closed) if this value is set to zero.

Set it to some big value (lets say 9999) to stay logged, like this

define('TIMEOUT_MINUTES', 9999);
Logged
Pages: [1]
  Print  
 
Jump to:  

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