How do I set up my IIS to keep my application alive?

前端 未结 6 1469
忘掉有多难
忘掉有多难 2020-12-05 19:06

I think my Webapplication gets shut down after a while.

It returns a new session if I haven\'t used the application in maybe 5 minutes. The session timeout is set to

6条回答
  •  感动是毒
    2020-12-05 19:51

    Application pools do recycle, and they do restart after achieving some limits in terms of execution time or number of requests etc, that can be set on IIS.

    IIS 7 actually runs in pipeline mode so its something new which we dont know yet for sure, but all you can do to make your app alive is to set a trigger from some other machine which will connect your server in every 5 or 10 or 60 minutes and try to fetch one html page.

    There can be various server monitors for http as well.

提交回复
热议问题