XModPro

Is it possible to have a dynamic database connection string?

Alon Hirsch Alon Hirsch asked May 10, 2021
Active Jul 4 · Viewed 9081 times
<p>I need to be able to link logins to different databases (my customer wants each customer to have their own database), but I want to control everything through a central DNN installation. </p> <p>Ideally, I'd like to be able to use some identifier associated with the user record when they login to identify which database they belong to and then have all the forms etc. connect to that database to access their data. If I could specify the connection string using a token or variable for example, then I can populate that variable when they login to indicate which database to connect to. </p> <p>The database structures will be the same for each customer, but the data in each will only be for that specific customer. </p>

0 Answers

Loading answers...