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

前端 未结 6 1468
忘掉有多难
忘掉有多难 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:39

    We had the same issue with a web service that had to stay online in such a way that we couldn't afford the latency involved in starting it up if it went stale.

    We wrote a very simple Windows Service that woke up every 3 minutes and requested a page as @Wayne suggested. Worked like a charm.

提交回复
热议问题