Zubrag.com
May 22, 2012, 07:12:55 am *
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 - logout feature?  (Read 2779 times)
cotter
Newbie
*
Posts: 1


« on: February 06, 2007, 05:46:28 pm »

I know someone name Dhani asked this before, but have you had a chance to add this feature?  If you pass page.php?logout=1, it will logout, but having a redirect to a login page or the front of the website (with login dialogue box) would be super.  Thanks for the great script!

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


WWW
« Reply #1 on: February 06, 2007, 06:36:56 pm »

This feature already implemented. I just forgot to put a note about it. Just add logout parameter to the page and it will logout.

Like this: http:/www.protected-site.com/my-protected-page.php?logout

So you can place some link on protected page to log out, like this
<a href="http:/www.protected-site.com/my-protected-page.php?logout">Logout</a>

It might need some additional work though. I'll change script to show login page when logged out tomorrow.
Logged
Pages: [1]
  Print  
 
Jump to:  

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