I want to make the Context.Session timeout longer than the default of 20 minutes.
The .NET 7 docs recommend putting configuration paramters into AddSession() in Startup.cs. However, Umbraco obscures AddSession by initializing it for us.
Note that I'm talking about the session timeout for website visitors, not the CMS back office. I'm using Umbraco 11.2.0.
How to configure session state timeout
I want to make the Context.Session timeout longer than the default of 20 minutes.
The .NET 7 docs recommend putting configuration paramters into AddSession() in Startup.cs. However, Umbraco obscures AddSession by initializing it for us.
Note that I'm talking about the session timeout for website visitors, not the CMS back office. I'm using Umbraco 11.2.0.
I was able to configure it by putting this in ConfigureServices, after services.AddUmbraco().
is working on a reply...