LogOut
I have installed security assist and getting things working. One Item that does not seem to work is the logout. I went through the wizard and after that added a link to my front page to login. then I wrapped that link with your show/hide server behavior.
<?php if(WA_Auth_RulePasses("Logged in to users")){ // Begin Show Region ?>
<p class="welcome">
<?php echo "|".$_SESSION['miiusername']."|";?> <a class="prepend-1" href="users_LogOut.php" title="Logout">Logout</a>
</p>
<?php } // End Show Region ?>
<?php if(!WA_Auth_RulePasses("Logged in to users")){ // Begin Show Region ?>
<p class="welcome">
<a href="users_LogIn.php" title="Login">Login</a> | <a href="users_Registration.php" title="Login">Register</a> | <a href="cart.php" title="Viewcart">View Cart</a>
</p>
<?php } // End Show Region ?>
When I go to the page it show the appropriate link to login. Then when I log out it does not log out.....
Am I missing something in the code of the logout page?
Thanks