Welcome Guest, Not a member yet? Register   Sign In
FreakAuth isValidUser( ) problem
#1

[eluser]Unknown[/eluser]
I have installed FreakAuth on my website and everything appears to be working. I use the isValidUser method to print a different menu for users that are logged in. This happens on every page that is displayed.

Whenever I login and navigate to any page within the website three times, the isValidUser method is no longer returning true and therefore shows the default menu.

My menu code looks like this:

Code:
<ul>
    <li>&lt;?=anchor('home', 'Home')?&gt;</li>
    &lt;?php if (isValidUser()) { ?&gt;
        <li>&lt;?=anchor($this->config->item('FAL_changePassword_uri'), 'Manage')?&gt;</li>
    &lt;?php } else { ?&gt;
        <li>&lt;?=anchor($this->config->item('FAL_register_uri'), 'Register')?&gt;</li>
    &lt;?php } ?&gt;
</ul>


Messages In This Thread
FreakAuth isValidUser( ) problem - by El Forum - 07-12-2007, 12:32 PM
FreakAuth isValidUser( ) problem - by El Forum - 09-02-2007, 06:39 AM
FreakAuth isValidUser( ) problem - by El Forum - 09-06-2007, 01:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB