How to determine session timeout in Asp.net Core?

I see how to put material into the session and cache from this project .

Could you tell me how to determine the session timeout in controllers / actions? Do we need some kind of attribute?

+8
asp.net-core asp.net-core-mvc
source share
1 answer

If I were you, I would try using the MVC6 cache helper.

You can read more here http://www.davepaquette.com/archive/2015/06/03/mvc-6-cache-tag-helper.aspx

+2
source share

All Articles