How do I increase session timeout in .NET core?
AddSession(options => options. IdleTimeout = TimeSpan. FromMinutes(240); );
How to handle session timeout in asp net c#?
There are two ways to set a session timeout in ASP.NET. First method: Go to web. config file and add following script where sessionstate timeout is set to 60 seconds.