CodeIgniter Forums
Conceptually How Would You Implement Free versus Paid Customers? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Conceptually How Would You Implement Free versus Paid Customers? (/showthread.php?tid=46567)



Conceptually How Would You Implement Free versus Paid Customers? - El Forum - 11-07-2011

[eluser]TerryT[/eluser]
To learn Codeigniter, I am writing a small web app. Conceptually how would you handle Free Customer who for example can open 1 project and have 5 users versus Silver Customer who can open up to 5 projects at anyone time and have 15 users, etc?

1. Would you set up a separate table with the authorization?
2. Would you load this info into their session when they register or log in and check against each time they try to add a project or user or would you just query the table?

I am looking for how you would approach this problem. I am currently using Ion Auth for authorization if it makes a difference.

Thanks for any insight.