Hello:
I am trying to set up a portion of my navigation to only display if a user has been validated otherwise to display a login form. I am having trouble getting started on how to do all the steps <grin>.
Basically each page should check to see if a user is valid or not(I assume using expiring session variables):
if yes then require navigation.inc
else require login.inc
if a user logs in and is valid then set session variable and replace the login.inc with navigation.inc
if user logs in and is invalid then redirect the entire page to a sorry page to try again. (along with contact info to request a pswd)
If a user logs in off of sorry.html and is valid then return the same page with the text "congratulations you are authenticated please continue to browse the site...yada, yada, yada" (or something to that affect)
Any help, suggestions or guidance would be greatly appreciated.
Thanks in advance.
Todd