2

I don't know why, but the Application_PreRequestHandlerExecute() function running many times - as the number of files in the page. (for example: if my web page including 5 jpg, 3 css files and 4 js files, this function will execute 12 times!). It's make me a lot of problems and also slow my site. I prefer that the function will execute only ONE time. does anyone know why it's running a lot of times? maybe to change something in the routes?

Tomer A
  • 61
  • 1
  • 5
  • 1
    Probably because `runAllManagedModulesForAllRequests` is true? see http://stackoverflow.com/questions/11048863/modules-runallmanagedmodulesforallrequests-true-meaning – rene Jan 24 '16 at 13:48
  • Tnx! helps me a lot. – Tomer A Jan 25 '16 at 09:21

0 Answers0