Zubrag.com
January 19, 2018, 05:23:47 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: Repeat visits  (Read 2544 times)
ydd
Newbie
*
Posts: 1


« on: August 18, 2011, 01:15:27 PM »

I have installed the script and it is working great except that once I log onto the password protected page I can log out or timeout and then re-enter the page without being asked for user name and password.  Is there a way I can fix this so that one has to re-log-in every visit?

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


WWW
« Reply #1 on: August 19, 2011, 03:02:19 PM »

session expires as soon as user closes browser. If you want to end session before that then add logout url somewhere on your page. html code would be <a href="?logout=1">Logout</a>

Note that user will be redirected to url specified in LOGOUT_URL (see password protect.php where it is defined)

details here adding logout link
Logged
Pages: [1]
  Print  
 
Jump to:  

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