We give then a different URL. In fact, the test web and db servers are different machines than the production servers. You need some way for the user to know what database they're on at all times so they don't put test data into the production db and vice-versa.
>Hello all,
>
>Can anybody give me some guidance on programatically selecting a different connection string for my web application. I want to be able to give the users a choice of picking a test/demo database vs. a production database. I want the code base to obviously be the same, but the database selected to be different.
>
>How this gets accomplished is not as important, i.e. does the user just use a different URL to get to the app. Or do they use the same URL, but first get a choice as to what database they want to access, etc.
>
>This is probably not a MM.NET related issue but I put it in this category as the application is built using MM.NET.
>
>TIA
>
>Bob
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer