G
Guest
Hi!
I am developing a VB .NET based app for a company X that has five associate
companies A,B,C,D, and E. Each of the associate companies has its own
database, but have one common database to store the user profile and login
details. All the five databases are identical.
I have one application for all the companies. My app uses several hard coded
sqldataAdapters and DataSets that retrieve their connection string from
Web.config file. Now I am have to replicate this app for all the five
companies, and I am wondering how to set the connection string
dynamically/programmatically based on the login of a user?
I assume Web.config file sets application wide variables....correct me if I
am wrong!! Is there is Web.config equivalent for a session?
Would appreciate an early response.
Thanks
I am developing a VB .NET based app for a company X that has five associate
companies A,B,C,D, and E. Each of the associate companies has its own
database, but have one common database to store the user profile and login
details. All the five databases are identical.
I have one application for all the companies. My app uses several hard coded
sqldataAdapters and DataSets that retrieve their connection string from
Web.config file. Now I am have to replicate this app for all the five
companies, and I am wondering how to set the connection string
dynamically/programmatically based on the login of a user?
I assume Web.config file sets application wide variables....correct me if I
am wrong!! Is there is Web.config equivalent for a session?
Would appreciate an early response.
Thanks