Answers for "set session timeout in asp.net core"

C#
1

how to configure session timeout in asp.net core

services.AddSession(options =>
            {
                options.IdleTimeout = TimeSpan.FromMinutes(5);//You can set Time   
            });
Posted by: Guest on June-16-2021
-1

asp.net c# set session timeout

<configuration>
      <system.web>
         <sessionState timeout="20"></sessionState>
      </system.web>
    </configuration>
Posted by: Guest on June-29-2020

Code answers related to "set session timeout in asp.net core"

C# Answers by Framework

Browse Popular Code Answers by Language