Jump to content
Larry Ullman's Book Forums

nam797

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by nam797

  1. Hello,

     

    I used Larry's post of custom authentication for getting users logged in with Yii and now I need to separate what each user can see by having a siteid field to not show custb data to custa. I used a post in the Yii forums to get an idea of what has to be done.

     

    link: http://www.yiiframework.com/forum/index.php/topic/29803-approach-to-multi-tenant-application-using-a-behavior/

     

    My problem now is that for the login i don't want the select statement to have the where clause siteid = ? appended. Does anyone have a better solution for this or an idea of how to not have the where clause appended when there logging in?

     

     

    Thanks,

    Nathan

  2. Hello,

     

    I am in the process of rewriting my SaaS Application in Yii and your tutorial on custom authentication using Yii framework really helped me understand what had to be done for autentication. I do have a question on how to stop a user from logging in at the same time with 2 seperate computers? I also am looking forward to your Yii book.

     

     

    Thanks for all the help,

    Nathan

×
×
  • Create New...