Generating connection string in web.config while loading dll in application

when i add dll in my application it added successfully
no problem about it.
when i run my application then connection string generate in web.config

bt what happen with this...
all sessions are cleared

hence i want to generate this connection string at the time of adding this dll in application

so is there any event handler or loader is available which will help to get me result

1 answer

I'm not sure I fully understand your problem.
Maybe this article can help you.

http://www.connectionstrings.com/store-connection-string-in-webconfig/