Welcome Guest, Not a member yet? Register   Sign In
Redux Auth Protected Pages
#1

[eluser]Timothy_[/eluser]
Hello,

Im using the Redux Authentication package 2. BETA Release.

Im trying to figure out how I can get controllers to check if a user has logged in.

I have done a fair bit of research and it looks like Redux Uses a variable called $status to output a boolean value.

However after trying this it looks like the variable isn't globally accessible.

I also found in my research some code that looks like this

Code:
function index(){


                if($this->redux_auth->logged_in()){



                        […]



                }else{



                        […]



                }

        }

Shame it doesnt work for me.

Any help would be appreciated.

Thanks

Tim

PS. I love CodeIgniter!!!!


Messages In This Thread
Redux Auth Protected Pages - by El Forum - 05-23-2009, 10:24 PM
Redux Auth Protected Pages - by El Forum - 05-24-2009, 03:47 AM
Redux Auth Protected Pages - by El Forum - 05-24-2009, 07:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB