Stored Connection Strings per user

Posted by pehaada on Stack Overflow See other posts from Stack Overflow or by pehaada
Published on 2010-05-21T22:02:16Z Indexed on 2010/05/21 22:20 UTC
Read the original article Hit count: 204

Filed under:
|
|
|
|

In the past I've used a Singleton Pattern to load the connection string when the application starts via the global.asa file.

I have a project now where each user has a unique connection string to the database. I would like to load this connection string once. The issue is that the singleton pattern will not work for me since each user has there own connection string. Basically the connection string is created dynamically.

I do not want to store it is session. If anyway has a clever way of doing this in .NET let me know ?

© Stack Overflow or respective owner

Related posts about connection

Related posts about string