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

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

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

What are you using to authenticate the user?

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-2021 MyBB Group.