asp.net - Stop IIS From Reloading Web.Config File -


my organization runs rather complex application web-based front end. i'm being told 1 of our security products (unknown 1 yet) reading web.config file , apparently simple reading of config file enough trigger iis think web.config file changed.

this causes reload of app pool , loss of session state causes users lose of data , "kicked out".

how can prevent short of adding exclusions our scanning software? realize that's option, i'm hoping 1 i'm not having make exceptions security systems. clear don't want hear/see answer saying "just add exception scanning software". i'm wanting know of alternatives first.

in iis, have ability disable automatic app pool recycling when web.config changes. this, go application pools listing, right-click app pool in question, select "advanced settings", way @ bottom, in "recycling" section, set "disable recycling configuration changes" true.

that being said, reading configuration file shouldn't trigger recycle. updating modified timestamp?

because of problem you're having, recommend enable event logging app pool recycles app pool, can try correlate recycle times when security scans run verify hypothesis. in advanced settings app pool, under "recycling" section, set under "generate recycle event log entry" true. recycle events should show in application log.

hmm... wasn't april fools joke, it?


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -