CodeIgniter Forums
Question on authenticating user - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Question on authenticating user (/thread-9360.html)



Question on authenticating user - El Forum - 06-22-2008

[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?


Question on authenticating user - El Forum - 06-22-2008

[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.


Question on authenticating user - El Forum - 06-22-2008

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


Question on authenticating user - El Forum - 06-22-2008

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