title: How to send MySQL connection information to data access layer from .NET user interface
body: <p>I have a .NET windows application and a asmx web service and then a data access layer written in C# to communicate with a MySQL database.</p>
  
  <p>My client have different projects. For each project we keep separate MySQL database. We have a another database say configdb, which have all the database information available and the connection information of all the databases. </p>
  
  <p>When my .Net application runs we get all available database information from the configdb and display in a drop down menu for user to select the database which he wants to connect. </p>
  
  <p>My problem is when the user select a specific database I want to send the connection information which I got from the user selection to the data access layer via web service and keep it until the user exist from the application. I do not want to send db connection information to data access layer in every call. Just need to do it once. Is it possible to do this? Or is there any way I can do this?</p>
  
  <p>Thank you very much in advance.</p>