• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question on authenticating user

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

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

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

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.