How to log out?
After successfully logging on to the site and proceeding to the Protected Page, there is no way to log out. I see there is the LogOut.php page which informs you you've logged out, but where is the log out form?
After successfully logging on to the site and proceeding to the Protected Page, there is no way to log out. I see there is the LogOut.php page which informs you you've logged out, but where is the log out form?
What determines that you are logged in is the presence of your userID in a session variable. The logout page will destroy the session variables for you, once the userID is no longer in the session you are not logged in. There is no form or anything else needed to log out, you just need to visit the logout page.
Just add a link in your protected pages to your usersLogOut.php page:
<a href="users_LogOut.php">Log out</a>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.