S
Srini
I noticed that ASP.Net caches the web.config and does not reread it unless
it is changed. But if you change it, it restarts the app and even session
variables are cleared (Am I correct ?).
I used another config file by using the file="debugparms.config" in the
appsettings section. If I change this file, ASP.Net does not restart the app
but it also does not read the file again unless I change web.config.
My purpose is to turn ON/OFF some logging as needed. To do this without
having to restart the app, I am planning on putting these variables in the
cache object and changing them as needed using a special page. Is this the
right approach ?
Thanks
it is changed. But if you change it, it restarts the app and even session
variables are cleared (Am I correct ?).
I used another config file by using the file="debugparms.config" in the
appsettings section. If I change this file, ASP.Net does not restart the app
but it also does not read the file again unless I change web.config.
My purpose is to turn ON/OFF some logging as needed. To do this without
having to restart the app, I am planning on putting these variables in the
cache object and changing them as needed using a special page. Is this the
right approach ?
Thanks