IIS 7 Application Pool Working Life and Life

The IIS7 application pool has a default value. The default timeout is 20 minutes, which states:

Time (in minutes) the workflow will remain idle until it is completed. A workflow is inactive if it does not process requests and does not receive new requests.

My question is: if the workflow is disconnected due to a timeout, is the session created by the application that is hosted in this workflow lost?

+3
source share
1 answer

Yes - session data is tied to the application pool workflow , so as soon as the worker disconnects, session data is lost.

The default behavior is to store session variables in ASP.NET workflow memory space.

(Of course, it is assumed that you are using InProc as a session mode. If you use a database, it will persist after the worker closes.)

+3
source

Source: https://habr.com/ru/post/1441045/


All Articles