Zubrag.com
September 15, 2019, 12:59:57 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: Protecting a page specific to a password (redux)  (Read 3552 times)
ucladidas
Newbie
*
Posts: 1


« on: January 26, 2009, 01:14:18 AM »

Awesome script!!  Thank you!

My question builds upon a previous topic posted in the forum (http://www.zubrag.com/forum/index.php/topic,339.0.html).

My question is what if I have a menu bar button (e.g., Photo) that links to page http://www.example.com/photos/index.php that is protected with advanced password protector.  And if John logs in, it redirects to http://www.example.com/photos/john.php; and if Sally logs in, it redirects to http://www.example.com/photos/sally.php. (Both individual personal pages are protected with password protect script).

That's fine and well because the advanced password protector script redirected each user based on their settings because they weren't initially logged in.  But now that they are logged in, when they click on the menu bar button 'Photo', they will be going to http://www.example.com/photos/index.php and not their respective pages.

Now, my question is, is there a way to have it so that once logged in, if a user were to click on the menu bar button 'Photo', the user will be automatically redirected to their respective pages based on their login credentials.  I'd like to not have, for example, John know a Sally page exists, and Sally not know a John page exists.

Any help/ideas would be much appreciated.  Thanks!

Logged
Pages: [1]
  Print  
 
Jump to:  

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