CodeIgniter Forums

Full Version: Question on authenticating user
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Is it ok to call your user checking method in a controller's constructor function?. ,
instead including it in every method of a controller?

El Forum

[eluser]Randy Casburn[/eluser]
Yes, This will require credentials for your entire application without exception. That's ok if that is what your want to do. In other words, you should plan on directing everyone to your login controller.

El Forum

[eluser]SeanJA[/eluser]
What are you using to authenticate the user?

El Forum

[eluser]Unknown[/eluser]
I'm using Redux_Auth with 3rd party session handling (dbsessions)
Thanks Man.