Skip to content

Commit bba6c5e

Browse files
authored
Changed session life time
1 parent 5e79b63 commit bba6c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Startup.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void ConfigureServices(IServiceCollection services)
3131
services.AddSession(options =>
3232
{
3333
// Set a short timeout for easy testing.
34-
options.IdleTimeout = TimeSpan.FromSeconds(60);
34+
options.IdleTimeout = TimeSpan.FromSeconds(300);
3535
options.Cookie.HttpOnly = true;
3636
});
3737
}

0 commit comments

Comments
 (0)