CodeIgniter Forums
Saas application - Every Tenant User have own database - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Saas application - Every Tenant User have own database (/showthread.php?tid=53454)



Saas application - Every Tenant User have own database - El Forum - 07-24-2012

[eluser]Unknown[/eluser]
I want to create a Multi-tenant(Saas)Application,where i want to give a choice to user.
1-where every register tenant user have own db.
2-where every register tenant user have own table in db.

How i can achieve this. In case of first choice how i can authenticate user and redirect to there seaprate db.