Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is the application pool automatically recycled after the appsettings.config file has been changed (and saved)? I'm asking because I want to know whether I should recycle manually or not.
Thanks!

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Yes. Modifying the appconfig.config file or pushing out a fresh copy of any DLL files will trigger a refresh of the app pool for your application.

share|improve this answer
    
Thanks! appreciate it. –  Nir Feb 16 '11 at 7:47
    
I have trouble believing this. Wouldn't an app pool refresh kill my Session? I am able to update appSettings.config without doing so. –  David Aug 20 '12 at 22:42
    
It depends on what was in your session. If you're using SQL Server based sessions, or have some way in your code to start up the session again based on a cookie, then you'll be fine. Otherwise you may have some of your session details (form fields, login name, etc.), but behind the scenes a new session has started. –  Dillie-O Aug 21 '12 at 13:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.