ASP.NET MVC session timeout, absolute or extendable?

Link: http://msdn.microsoft.com/en-us/library/vstudio/ms178581(v=vs.100).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1

A session is considered active as long as requests continue to run with the same SessionID value. If the time between requests for a particular session exceeds the specified timeout value in minutes, the session is considered expired. Expired Queries SessionID will result in a new session.

I want me to understand this paragraph correctly. From this, I read that ASP.NET sessions are working on a Sliding rule, not an absolute rule. That is, the session expires 20 minutes after the LAST request for the session (suppose that the default value of 20 minutes is here for the argument), not exactly 20 minutes after the start of the session, regardless of the activity of the request / session? Did I understand correctly?

+5
source share
1 answer

Yes, you got it right.

As the docs say, each request for a session will be reset by a countdown of 20 minutes.

+3
source

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